diff options
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..98d96d0 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,25 @@ +module.exports = { + entry: { + ui: './webAO/ui.js', + client: './webAO/client.js' + }, + output: { + filename: '[name].b.js' + }, + module: { + rules: [ + { + test: /\.js?$/, + exclude: /node_modules/, + use: { + loader: 'babel-loader', + options: { + presets: ['es2015'] + } + } + } + ] + }, + + devtool: 'source-map' +}
\ No newline at end of file |
