Upgrade to Babel 7
Also, update to webpack 4 and add support for dynamic import() and import.meta in ?module mode. Fixes #108 Fixes #151
This commit is contained in:
@ -1,8 +1,4 @@
|
||||
{
|
||||
"presets": ["env", "stage-2", "react"],
|
||||
"env": {
|
||||
"production": {
|
||||
"plugins": ["transform-react-remove-prop-types"]
|
||||
}
|
||||
}
|
||||
"presets": [["@babel/env", { "loose": true }], "@babel/react"],
|
||||
"plugins": [["@babel/plugin-proposal-class-properties", { "loose": true }]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user