Skip to content

kuy/electron-connect-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NPM Package

electron-connect-webpack-plugin

electron-connect integration for webpack.

Installation

npm install --save-dev electron-connect-webpack-plugin

Usage

1. Add plugin to webpack.config.js

var ElectronConnectWebpackPlugin = require('electron-connect-webpack-plugin');
var path = require("path");

module.exports = {
  // ...

  plugins: [
    // ...
    new ElectronConnectWebpackPlugin({
      path:path.join(__dirname, "dist"),
      logLevel: 0
    }),
  ]

  // ...
};

2. Start webpack with watch option

$ webpack --watch

Changelog

See the Releases page on GitHub.

License

MIT

Author

Yuki Kodama / @kuy