mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Add temporary workaround for Babel dependency issues in installs test suite (#6757)
This is a temporary fix to get our test suites passing so we can finish work on the 3.0 release. We still need to find and fix the root cause of this issue: #6679. This workaround should be removed once that's fixed.
This commit is contained in:
@@ -184,6 +184,10 @@ CI=true yarn test
|
||||
# Eject...
|
||||
echo yes | npm run eject
|
||||
|
||||
# Temporary workaround for https://github.com/facebook/create-react-app/issues/6099
|
||||
rm yarn.lock
|
||||
yarn add @babel/plugin-transform-react-jsx-source @babel/plugin-syntax-jsx @babel/plugin-transform-react-jsx @babel/plugin-transform-react-jsx-self
|
||||
|
||||
# Ensure env file still exists
|
||||
exists src/react-app-env.d.ts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user