aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-03-23 19:00:51 +0100
committerstonedDiscord <stoned@derpymail.org>2019-03-23 19:00:51 +0100
commit31bfac3f0ec613710ba00c92202ab7de910b4d05 (patch)
tree84cb1c3b796fe3849cc43af75ce4e7267f24bdbb /webpack.config.js
parentb66ae3ac96f07077d716e2d09650882eedfe3589 (diff)
npm update
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