-
-
Notifications
You must be signed in to change notification settings - Fork 450
Closed
Description
Getting Property name expected type of string but got null error
babel.config.js
module.exports = {
presets: [
[
require('@babel/preset-env'),
{
targets: 'defaults, not ie <= 11, not edge > 0, not IE_Mob 11',
modules: false
}
],
require('@babel/preset-react')
],
plugins: [
require('react-hot-loader/babel'),
require('@babel/plugin-transform-regenerator'),
require('@babel/plugin-syntax-dynamic-import'),
require('@babel/plugin-syntax-throw-expressions'),
require('@babel/plugin-transform-runtime'),
require('babel-plugin-styled-components')
],
env: {
production: {
plugins: [require('babel-plugin-transform-react-remove-prop-types')]
}
}
}package.json
"dependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-throw-expressions": "^7.8.3",
"@babel/plugin-transform-regenerator": "^7.8.7",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-styled-components": "^1.10.7",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"react-hot-loader": "^4.12.20"
}
Metadata
Metadata
Assignees
Labels
No labels
