electron-connect integration for webpack.
npm install --save-dev electron-connect-webpack-plugin
var ElectronConnectWebpackPlugin = require('electron-connect-webpack-plugin');
var path = require("path");
module.exports = {
// ...
plugins: [
// ...
new ElectronConnectWebpackPlugin({
path:path.join(__dirname, "dist"),
logLevel: 0
}),
]
// ...
};
$ webpack --watch
See the Releases page on GitHub.
MIT
Yuki Kodama / @kuy