Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f05fcb9

Browse files
author
Anthony Gore
committed
# Conflicts: # package.json
2 parents f10d9b2 + 5a3ba97 commit f05fcb9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@
5050
"vue-style-loader": "~1.0.0",
5151
"vue-template-compiler": "~2.1.0",
5252
"vuex": "~2.1.1",
53+
"webpack": "~2.7.0",
5354
"webpack-dev-middleware": "~1.9.0",
5455
"webpack-hot-middleware": "~2.14.0",
56+
"webpack-merge": "~2.3.1",
5557
"webpack-module-hot-accept": "~1.0.4"
5658
}
5759
}

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var baseConfig = {
1717
use: [{
1818
loader: 'babel-loader',
1919
options: {
20-
"presets": [ [ "es2015" ] ],
20+
"presets": [ [ "env" ] ],
2121
"plugins": [ "transform-es2015-destructuring", "transform-runtime" ]
2222
}
2323
}],
@@ -41,6 +41,7 @@ var baseConfig = {
4141
options: {
4242
loaders: {
4343
'scss': 'vue-style-loader!css-loader!sass-loader',
44+
'js': 'babel-loader?presets[]=env'
4445
}
4546
}
4647
}

0 commit comments

Comments
 (0)