forked from treehouse/mastodon
feat(babel): Strip prop types (#3122)
* feat(babel): Strip prop types * chore(babel): Indent * fix(babel): Move babel-plugin-transform-react-remove-prop-types to dependenciessignup-info-prompt
parent
25e5aa645d
commit
f18a6c2cf2
10
.babelrc
10
.babelrc
|
@ -33,6 +33,16 @@
|
||||||
"production": {
|
"production": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"lodash",
|
"lodash",
|
||||||
|
[
|
||||||
|
"transform-react-remove-prop-types",
|
||||||
|
{
|
||||||
|
"mode": "remove",
|
||||||
|
"removeImport": true,
|
||||||
|
"additionalLibraries": [
|
||||||
|
"react-immutable-proptypes"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"transform-runtime",
|
"transform-runtime",
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
||||||
"babel-plugin-transform-react-jsx-self": "^6.22.0",
|
"babel-plugin-transform-react-jsx-self": "^6.22.0",
|
||||||
"babel-plugin-transform-react-jsx-source": "^6.22.0",
|
"babel-plugin-transform-react-jsx-source": "^6.22.0",
|
||||||
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.5",
|
||||||
"babel-plugin-transform-runtime": "^6.23.0",
|
"babel-plugin-transform-runtime": "^6.23.0",
|
||||||
"babel-preset-env": "^1.4.0",
|
"babel-preset-env": "^1.4.0",
|
||||||
"babel-preset-react": "^6.11.1",
|
"babel-preset-react": "^6.11.1",
|
||||||
|
|
|
@ -964,6 +964,12 @@ babel-plugin-transform-react-jsx@^6.3.13:
|
||||||
babel-plugin-syntax-jsx "^6.8.0"
|
babel-plugin-syntax-jsx "^6.8.0"
|
||||||
babel-runtime "^6.0.0"
|
babel-runtime "^6.0.0"
|
||||||
|
|
||||||
|
babel-plugin-transform-react-remove-prop-types@^0.4.5:
|
||||||
|
version "0.4.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.5.tgz#79d1958437ae23d4fbc0b11d1a041498ddb23877"
|
||||||
|
dependencies:
|
||||||
|
babel-traverse "^6.24.1"
|
||||||
|
|
||||||
babel-plugin-transform-regenerator@6.16.1:
|
babel-plugin-transform-regenerator@6.16.1:
|
||||||
version "6.16.1"
|
version "6.16.1"
|
||||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.16.1.tgz#a75de6b048a14154aae14b0122756c5bed392f59"
|
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.16.1.tgz#a75de6b048a14154aae14b0122756c5bed392f59"
|
||||||
|
|
Loading…
Reference in New Issue