webpack-dev-executer
v0.1.1
Published
Execute a webpack app in worker threads
Downloads
5
Readme
webpack-dev-executer
Use webpack with a development worker that executes NodeJs app. This should be used for development only.
Getting Started
$ npm install webpack-dev-executer
Example
import webpack from 'webpack';
import config from './webpack.config.ts';
import WebpackDevExecuter from 'webpack-dev-executer';
const compiler = webpack(config);
const executer = new WebpackDevExecuter({ writeToDisk: true }, compiler);
executer.startCallback(() => {
console.log('STARTED');
});