Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.
/ webpack-dat Public archive

Serves a live-reloading Webpack configuration plus static files over Dat ⚡

Notifications You must be signed in to change notification settings

rjkip/webpack-dat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-dat

Serves a Webpack configuration plus static files over P2P Dat. Beaker Browser supports live reloading out of the box!

npm install --save-dev webpack-dat

Example usage

webpackDev(
  {
    webpack: {
      mode: "production",
      entry: "./src/script.js",
      output: { path: "/" },
    },
    staticFiles: "./public",
  },
  function(datUrl) {
    console.log("Dat URL: " + datUrl);
  },
);

For a full, working example, look no further.

image

About

Serves a live-reloading Webpack configuration plus static files over Dat ⚡

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published