1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00

Merge pull request #337 from verdaccio/fix-334

fix: Fix  #334 UI failure on IE 11, add support for old browsers.
This commit is contained in:
Juan Picado @jotadeveloper 2017-10-01 14:17:27 +02:00 committed by GitHub
commit 90fa4ad3f4
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.