1
0
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:
Juan Picado @jotadeveloper 2017-10-01 14:10:10 +02:00
parent dbd2a5c8b8
commit f1f15be353
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
5 changed files with 10 additions and 3 deletions

@ -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

Binary file not shown.