Skip to content

Commit bbf4d22

Browse files
authored
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
1 parent b83baf6 commit bbf4d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rollup/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const useForks = require('./plugins/use-forks-plugin');
2121
const stripUnusedImports = require('./plugins/strip-unused-imports');
2222
const Packaging = require('./packaging');
2323
const {asyncRimRaf} = require('./utils');
24-
const codeFrame = require('babel-code-frame');
24+
const codeFrame = require('@babel/code-frame');
2525
const Wrappers = require('./wrappers');
2626

2727
const RELEASE_CHANNEL = process.env.RELEASE_CHANNEL;

0 commit comments

Comments
 (0)