Replies: 2 comments
-
Here's the patch I created for v1.1.3:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
esbuild now supports it natively evanw/esbuild#2349 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the new or updated feature that you are suggesting?
To be able to support
@emtion/react
'scss
prop on React elements, esbuild's config needs to be slightly tweaked.I managed to patch Remix's https://github.com/remix-run/remix/blob/main/packages/remix-dev/compiler.ts and https://github.com/remix-run/remix/blob/main/packages/remix-dev/compiler/shims/react.ts to make it work in dev but ideally it we would be possible to configure
esbuild
fromremix.config.js
(or similar).It could be a jsx factory specific thing:
or just allowing the whole
esbuild
configuration to be extended:Why should this feature be included?
To be able to support custom JSX factories like emotion's one.
Beta Was this translation helpful? Give feedback.
All reactions