mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 09:25:42 +08:00
Switch back to babel-loader (#5143)
* Switch back to babel-loader * Preserve existing caller options. Use Object.assign instead of object spread. * Updated filename in package.json * Update comment about cache identifier * Update macro check to use a regex * Move macro check regex out of function
This commit is contained in:
committed by
Joe Haddad
parent
af61071a85
commit
39c73ce5e3
@@ -12,8 +12,7 @@
|
||||
"dependencies.js",
|
||||
"dev.js",
|
||||
"index.js",
|
||||
"loader.js",
|
||||
"overrides.js",
|
||||
"webpack-overrides.js",
|
||||
"prod.js",
|
||||
"test.js"
|
||||
],
|
||||
@@ -31,7 +30,7 @@
|
||||
"@babel/preset-flow": "7.0.0",
|
||||
"@babel/preset-react": "7.0.0",
|
||||
"@babel/runtime": "7.0.0",
|
||||
"babel-loader": "8.0.2",
|
||||
"babel-loader": "8.0.4",
|
||||
"babel-plugin-macros": "2.4.2",
|
||||
"babel-plugin-transform-dynamic-import": "2.1.0",
|
||||
"babel-plugin-transform-react-remove-prop-types": "0.4.18"
|
||||
|
||||
Reference in New Issue
Block a user