0.1.1 • Published 9 years ago

electron-connect-webpack-plugin v0.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

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