webpack-dat
v0.1.0
Published
Serves a live-reloading Webpack configuration plus static files over Dat
Downloads
1
Readme
webpack-dat
Serves a Webpack configuration plus static files over P2P Dat. Beaker Browser supports live reloading out of the box!
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.