mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix IE compat through babelify
Requires a polyfill for Object.assign
This commit is contained in:
parent
5c8df9f16e
commit
0fadd7a15a
@ -49,7 +49,8 @@ const browserifyOptions = {
|
||||
};
|
||||
|
||||
const babelifyOptions = {
|
||||
presets: ['es2015', 'react'],
|
||||
presets: ['es2015', 'es2015-ie', 'react'],
|
||||
plugins: ['transform-object-assign'],
|
||||
ignore: /(node_modules|thirdparty)/,
|
||||
comments: false,
|
||||
};
|
||||
|
@ -57,7 +57,9 @@
|
||||
"babel-core": "^6.7.4",
|
||||
"babel-jest": "^9.0.3",
|
||||
"babel-plugin-transform-es2015-modules-umd": "^6.6.5",
|
||||
"babel-plugin-transform-object-assign": "^6.5.0",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-preset-es2015-ie": "^6.6.1",
|
||||
"babel-preset-react": "^6.5.0",
|
||||
"babelify": "^7.2.0",
|
||||
"browserify": "^13.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user