Skip to content

Commit

Permalink
解决ie下的兼容问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tim760255458 committed Jul 2, 2018
1 parent ac79bc1 commit 5af338e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const createLintingRule = () => ({
module.exports = {
context: path.resolve(__dirname, '../'),
entry: {
app: './src/main.js'
app: ['babel-polyfill', './src/main.js']
},
output: {
path: config.build.assetsRoot,
Expand Down
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"dependencies": {
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"element-ui": "^2.3.6",
"mockjs": "^1.0.1-beta3",
"normalize.css": "^8.0.0",
Expand Down

0 comments on commit 5af338e

Please sign in to comment.