mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
fix: Fix #334 UI failure on IE 11, add suppor for old browsers.
This commit is contained in:
parent
dbd2a5c8b8
commit
f1f15be353
8
.babelrc
8
.babelrc
@ -3,7 +3,13 @@
|
||||
"react",
|
||||
["env",{
|
||||
"targets": {
|
||||
"browsers": ["last 5 versions", "safari >= 11"],
|
||||
"browsers": [
|
||||
"last 5 versions",
|
||||
"FireFox >= 44",
|
||||
"Safari >= 7",
|
||||
"Explorer 11",
|
||||
"last 4 Edge versions"
|
||||
],
|
||||
"loose": true
|
||||
}
|
||||
}],
|
||||
|
@ -55,6 +55,7 @@
|
||||
"babel-plugin-flow-runtime": "0.11.1",
|
||||
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
||||
"babel-plugin-transform-runtime": "6.23.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-env": "1.5.2",
|
||||
"babel-preset-flow": "6.23.0",
|
||||
"babel-preset-react": "6.24.1",
|
||||
|
@ -86,7 +86,7 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
|
||||
devtool: isDev ? 'source-map' : 'eval',
|
||||
devtool: isDev ? 'source-map' : false,
|
||||
|
||||
stats: {
|
||||
children: false,
|
||||
|
@ -8,7 +8,7 @@ const merge = require('webpack-merge');
|
||||
|
||||
const prodConf = {
|
||||
entry: {
|
||||
main: `${env.SRC_ROOT}/webui/src/index.js`,
|
||||
main: ['babel-polyfill', `${env.SRC_ROOT}/webui/src/index.js`],
|
||||
},
|
||||
|
||||
module: {
|
||||
|
BIN
yarn.lock
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in New Issue
Block a user