Merge branch 'hotfix/babel' into 'master'
babel-plugin-add-for-huawei See merge request !450
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -57,6 +57,7 @@ | @@ -57,6 +57,7 @@ | ||
57 | "autoprefixer": "^6.7.4", | 57 | "autoprefixer": "^6.7.4", |
58 | "babel-core": "^6.24.0", | 58 | "babel-core": "^6.24.0", |
59 | "babel-loader": "^6.4.1", | 59 | "babel-loader": "^6.4.1", |
60 | + "babel-polyfill": "^6.23.0", | ||
60 | "babel-preset-env": "^1.2.2", | 61 | "babel-preset-env": "^1.2.2", |
61 | "css-loader": "^0.27.3", | 62 | "css-loader": "^0.27.3", |
62 | "cssnano": "^3.10.0", | 63 | "cssnano": "^3.10.0", |
@@ -66,7 +66,7 @@ const cssLoader = (env, type) => { | @@ -66,7 +66,7 @@ const cssLoader = (env, type) => { | ||
66 | 66 | ||
67 | const getEntries = () => { | 67 | const getEntries = () => { |
68 | const entries = { | 68 | const entries = { |
69 | - libs: ['yoho-jquery'], | 69 | + libs: ['babel-polyfill', 'yoho-jquery'], |
70 | index: path.join(__dirname, '../scss/index.css'), | 70 | index: path.join(__dirname, '../scss/index.css'), |
71 | common: path.join(__dirname, '../scss/common.css'), | 71 | common: path.join(__dirname, '../scss/common.css'), |
72 | feature: path.join(__dirname, '../scss/feature.css') | 72 | feature: path.join(__dirname, '../scss/feature.css') |
-
Please register or login to post a comment