UNPKG

webworkify-webpack2

Version:

launch a web worker that can require() in the browser with webpack, compatible with webworkify

21 lines (20 loc) 394 B
module.exports = { entry: { app: ["./example/main.js"] }, output: { filename: "output.js" }, module: { loaders: [ { test: /\.jsx?$/, exclude: /(node_modules|bower_components)/, loader: 'babel', query: { presets: ['es2015'] } } ] } };