React compiler not working #361
Answered
by
ArnaudBarre
yanglee2421
asked this question in
Q&A
-
The includes contain .scss, which causes the react compiler (a babel plugin) to not work. Why? export default defineConfig(() => {
return {
plugins: [
react({
babel: {
plugins: [["babel-plugin-react-compiler", {}]],
},
include: [".scss"],
}),
],
};
}); |
Beta Was this translation helpful? Give feedback.
Answered by
ArnaudBarre
Sep 4, 2024
Replies: 1 comment 6 replies
-
Why do you want non JS files to be processed by Babel? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
React issue: facebook/react#29115