mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Update import for babel-code-frame in build script (#25963)
## Summary Updating import for babel-code-frame to use the official @babel package, as babel-code-frame is a ghost dependency. This change is necessary to avoid potential issues and stay up-to-date with the latest version of @babel/code-frame, which is already declared in our project's package.json. ## How did you test this change? yarn test
This commit is contained in:
@@ -21,7 +21,7 @@ const useForks = require('./plugins/use-forks-plugin');
|
||||
const stripUnusedImports = require('./plugins/strip-unused-imports');
|
||||
const Packaging = require('./packaging');
|
||||
const {asyncRimRaf} = require('./utils');
|
||||
const codeFrame = require('babel-code-frame');
|
||||
const codeFrame = require('@babel/code-frame');
|
||||
const Wrappers = require('./wrappers');
|
||||
|
||||
const RELEASE_CHANNEL = process.env.RELEASE_CHANNEL;
|
||||
|
||||
Reference in New Issue
Block a user