forked from p15670423/monkey
Updated babel, updated polyfill definitions to include only modern browsers.
Webpack size is now 2.39MiB
This commit is contained in:
parent
c7a94beb0d
commit
a645abd498
|
@ -1,10 +1,15 @@
|
|||
{
|
||||
"presets": [
|
||||
"es2015",
|
||||
"stage-0",
|
||||
"react"
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"useBuiltIns": "entry"
|
||||
}
|
||||
],
|
||||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": [
|
||||
"emotion"
|
||||
"emotion",
|
||||
"@babel/plugin-proposal-class-properties"
|
||||
]
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,24 +21,22 @@
|
|||
"repository": "",
|
||||
"keywords": [],
|
||||
"author": "Guardicore",
|
||||
"browserslist": "> 0.25%, not dead",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"@babel/cli": "^7.8.4",
|
||||
"@babel/core": "^7.9.6",
|
||||
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
||||
"@babel/plugin-transform-runtime": "^7.9.6",
|
||||
"@babel/preset-env": "^7.9.6",
|
||||
"@babel/preset-react": "^7.9.0",
|
||||
"@babel/runtime": "^7.9.6",
|
||||
"babel-eslint": "^8.2.6",
|
||||
"babel-loader": "^7.1.5",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-stage-0": "^6.5.0",
|
||||
"bower-webpack-plugin": "^0.1.9",
|
||||
"babel-loader": "^8.0.0",
|
||||
"chai": "^4.2.0",
|
||||
"copyfiles": "^2.2.0",
|
||||
"css-loader": "^1.0.1",
|
||||
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-loader": "^2.2.1",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-loader": "^4.0.1",
|
||||
"eslint-plugin-react": "^7.19.0",
|
||||
"file-loader": "^1.1.11",
|
||||
"glob": "^7.1.6",
|
||||
|
@ -52,7 +50,6 @@
|
|||
"karma-phantomjs-launcher": "^1.0.0",
|
||||
"karma-sourcemap-loader": "^0.3.5",
|
||||
"karma-webpack": "^3.0.5",
|
||||
"lodash-webpack-plugin": "^0.11.5",
|
||||
"minimist": "^1.2.5",
|
||||
"mocha": "^5.2.0",
|
||||
"null-loader": "^0.1.1",
|
||||
|
@ -68,6 +65,7 @@
|
|||
"webpack-dev-server": "^3.10.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "^7.8.0",
|
||||
"@emotion/core": "^10.0.22",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.25",
|
||||
"@fortawesome/free-regular-svg-icons": "^5.11.2",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import '@babel/polyfill';
|
||||
import 'core-js/fn/object/assign';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import 'babel-polyfill';
|
||||
import App from './components/Main';
|
||||
import Bootstrap from 'bootstrap/dist/css/bootstrap.css'; // eslint-disable-line no-unused-vars
|
||||
|
||||
|
|
Loading…
Reference in New Issue