Disable code spliting for the UMD build

This commit is contained in:
Jordan Eldredge 2018-03-25 15:47:33 -07:00
parent db5aa57013
commit 6da9ba0f2c
3 changed files with 10 additions and 10 deletions

View file

@ -20,22 +20,17 @@
],
"react"
],
"plugins": [
"transform-object-rest-spread"
],
"plugins": ["transform-object-rest-spread"],
"env": {
"test": {
"presets": [
"react"
],
"plugins": [
"transform-es2015-modules-commonjs"
]
"presets": ["react"],
"plugins": ["transform-es2015-modules-commonjs"]
},
"library": {
"plugins": [
"babel-plugin-remove-webpack",
"babel-plugin-transform-runtime"
]
}
}
}
}

View file

@ -62,6 +62,7 @@
},
"dependencies": {
"babel": "^6.23.0",
"babel-plugin-remove-webpack": "^1.1.0",
"babel-plugin-transform-object-rest-spread": "^6.20.2",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-preset-env": "^1.5.2",

View file

@ -536,6 +536,10 @@ babel-plugin-jest-hoist@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.2.0.tgz#bd34f39d652406669713b8c89e23ef25c890b993"
babel-plugin-remove-webpack@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/babel-plugin-remove-webpack/-/babel-plugin-remove-webpack-1.1.0.tgz#82925cab871230c0c6b82cf67a3af243c094d1d6"
babel-plugin-syntax-async-functions@^6.8.0:
version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"