aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-03-19 16:46:06 +0100
committerstonedDiscord <stoned@derpymail.org>2019-03-19 16:46:06 +0100
commit93a4462c3c2f333f9bc54296847d628d6d46bdb1 (patch)
tree12dcf631c71a66608a4030411c6d76f61f1d587c /webpack.config.js
parent16878ca81abd27e92c1650282f560b8d6d393bcc (diff)
update all this npm shit
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 98d96d0..8032471 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -8,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