Commit 10e63aab authored by 周健威's avatar 周健威

Update webpack.base.conf.js

parent 7fc18851
...@@ -58,6 +58,9 @@ module.exports = { ...@@ -58,6 +58,9 @@ module.exports = {
{ {
test: /\.js$/, test: /\.js$/,
loader: 'babel-loader?cacheDirectory', loader: 'babel-loader?cacheDirectory',
options: {
presets: ['es2015']
},
include: [resolve('src'), resolve('test')] include: [resolve('src'), resolve('test')]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment