Skip to content

Commit 7cacf96

Browse files
Update src/getBabelCommonConfig.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent d14b847 commit 7cacf96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getBabelCommonConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface BabelConfig extends TransformOptions {
99
export default function getBabelCommonConfig(modules?: boolean): BabelConfig {
1010
const plugins = [
1111
[
12-
'babel-plugin-react-compiler',
12+
resolve('babel-plugin-react-compiler'),
1313
{
1414
target: '18', // 最低支持的版本是 React 18
1515
},

0 commit comments

Comments
 (0)