* add duplicate code detection check for general purpose use * webpack alias for lodash * redux and react-redux dependency bump that removes lodash dependencies * lodash version match with swagger-client and recent security update * additional webpack config to help reduce build sizes * restore max bundle size back to 1024000
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
{
|
|
"presets": [
|
|
[
|
|
"@babel/env",
|
|
{
|
|
"targets": {
|
|
"browsers": [
|
|
/* benefit of C/S/FF/Edge only? */
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"Firefox ESR",
|
|
"not dead"
|
|
]
|
|
},
|
|
"useBuiltIns": "entry",
|
|
"corejs": "2"
|
|
}
|
|
],
|
|
"@babel/preset-react"
|
|
],
|
|
"plugins": [
|
|
["@babel/plugin-transform-runtime", {
|
|
"corejs": "2",
|
|
"absoluteRuntime": false,
|
|
"version": "7.10.4"
|
|
}],
|
|
"@babel/plugin-proposal-class-properties",
|
|
"@babel/plugin-proposal-optional-chaining",
|
|
["transform-react-remove-prop-types", {
|
|
"additionalLibraries": ["react-immutable-proptypes"]
|
|
}],
|
|
[
|
|
"babel-plugin-module-resolver",
|
|
{
|
|
"alias": {
|
|
"root": ".",
|
|
"components": "./src/core/components",
|
|
"containers": "./src/core/containers",
|
|
"core": "./src/core",
|
|
"plugins": "./src/plugins",
|
|
"img": "./src/img",
|
|
"corePlugins": "./src/core/plugins",
|
|
"less": "./src/less"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|