We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// emotion css prop is not working module.exports = { babel: { presets: [ [ '@babel/preset-react', {'runtime': 'automatic', 'importSource': '@emotion/react'} ] ], plugins: ['@emotion/babel-plugin'] }, plugins: [ { plugin: CracoEsbuildPlugin, }, ... ], } // it works module.exports = { babel: { presets: [ [ '@babel/preset-react', {'runtime': 'automatic', 'importSource': '@emotion/react'} ] ], plugins: ['@emotion/babel-plugin'] }, ... // use the default babel settings of react-script instead of esbuild }
When I use craco esbuild, cannot use css props in emotion. Is the craco esbuild plugin clearing babel settings?
The text was updated successfully, but these errors were encountered:
Yes, esbuild is replacing babel totally.
Sorry, something went wrong.
@pradel Sorry to bother you, is there any way to use babel preset while using esbuild?
Maybe there you can see how but I never did this privatenumber/esbuild-loader#99
No branches or pull requests
When I use craco esbuild, cannot use css props in emotion.
Is the craco esbuild plugin clearing babel settings?
The text was updated successfully, but these errors were encountered: