Enable react inline and constant babel optimizations
This commit is contained in:
parent
23e75b8f40
commit
ede8e19722
File diff suppressed because one or more lines are too long
|
@ -15,6 +15,12 @@
|
|||
}]
|
||||
}]
|
||||
]
|
||||
},
|
||||
"production": {
|
||||
"plugins": [
|
||||
"transform-react-inline-elements",
|
||||
"transform-react-constant-elements"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
"babel-loader": "^6.2.2",
|
||||
"babel-plugin-react-transform": "^2.0.0",
|
||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
||||
"babel-plugin-transform-react-constant-elements": "^6.4.0",
|
||||
"babel-plugin-transform-react-inline-elements": "^6.4.0",
|
||||
"babel-preset-es2015": "^6.3.13",
|
||||
"babel-preset-react": "^6.3.13",
|
||||
"babel-preset-stage-0": "^6.3.13",
|
||||
|
|
Loading…
Reference in New Issue