react-compiler-webpack icon indicating copy to clipboard operation
react-compiler-webpack copied to clipboard

compiler options dont show until babel plugin is installed

Open ImLunaHey opened this issue 9 months ago • 5 comments

the readme says // React Compiler options goes here but im only seeing babelTransFormOpt as a field and nothing else. the compiler docs suggest there should be a sources field that.

would the test field for webpack itself be used instead?

ImLunaHey avatar Apr 07 '25 09:04 ImLunaHey

i didnt have the babel-plugin-react-compiler dep installed.

ImLunaHey avatar Apr 07 '25 09:04 ImLunaHey

What package manager and which version are you using? babel-plugin-react-compiler is a non-optional peer deps that should be installed by default for almost every package manager out there.

SukkaW avatar Apr 19 '25 11:04 SukkaW

i ran npm i -D react-compiler-webpack and it didnt work until i manually installed the dep. when i say they didnt show up im talking about vscode intellisense.

ImLunaHey avatar Apr 19 '25 12:04 ImLunaHey

i ran npm i -D react-compiler-webpack and it didnt work until i manually installed the dep. when i say they didnt show up im talking about vscode intellisense.

Which version of npm are you using?

SukkaW avatar Apr 19 '25 12:04 SukkaW

10.5.0

ImLunaHey avatar Apr 22 '25 09:04 ImLunaHey