aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js21
1 files changed, 10 insertions, 11 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 197e91c..8032471 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,7 +1,6 @@
module.exports = {
entry: {
ui: './webAO/ui.js',
- fingerprint: './webAO/fingerprint.js',
client: './webAO/client.js'
},
output: {
@@ -9,18 +8,18 @@ module.exports = {
},
module: {
rules: [
- {
- test: /\.js?$/,
- exclude: /node_modules/,
- use: {
- loader: 'babel-loader',
- options: {
- presets: ['es2015']
- }
- }
+ {
+ test: /\.m?js$/,
+ exclude: /(node_modules|bower_components)/,
+ use: {
+ loader: 'babel-loader',
+ options: {
+ presets: ['@babel/preset-env']
+ }
}
+ }
]
- },
+ },
devtool: 'source-map'
} \ No newline at end of file