mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Add Object.assign polyfill for IE11 support, update dependencies
This commit is contained in:
parent
75fa22e80f
commit
fe51b5faf2
|
@ -34,7 +34,8 @@ module.exports = function(options = {}) {
|
|||
plugins: [
|
||||
['@babel/plugin-transform-runtime', {useESModules: true}],
|
||||
['@babel/plugin-proposal-class-properties'],
|
||||
['@babel/plugin-transform-react-jsx', {pragma: 'm'}]
|
||||
['@babel/plugin-transform-react-jsx', {pragma: 'm'}],
|
||||
['@babel/plugin-transform-object-assign']
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
1013
js-packages/webpack-config/package-lock.json
generated
1013
js-packages/webpack-config/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -9,13 +9,14 @@
|
|||
"webpack": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-rc.3",
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0-rc.3",
|
||||
"@babel/plugin-transform-react-jsx": "^7.0.0-rc.3",
|
||||
"@babel/plugin-transform-runtime": "^7.0.0-rc.3",
|
||||
"@babel/preset-env": "^7.0.0-rc.3",
|
||||
"@babel/preset-react": "^7.0.0-rc.3",
|
||||
"@babel/runtime": "^7.0.0-rc.3",
|
||||
"babel-loader": "^8.0.0-beta.6"
|
||||
"@babel/core": "^7.0.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||
"@babel/plugin-transform-object-assign": "^7.0.0",
|
||||
"@babel/plugin-transform-react-jsx": "^7.0.0",
|
||||
"@babel/plugin-transform-runtime": "^7.0.0",
|
||||
"@babel/preset-env": "^7.0.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"babel-loader": "^8.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user