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