Anyone tried to use SWC with Remix? #1323
Replies: 3 comments 2 replies
-
Remix already had a compiler which is really fast and not replaceable, why would you want to use swc? If you really have a use case you could put your code in some src folder, use swc to compile it and store the output in the app folder, but that will make your build slower since you have two builds now |
Beta Was this translation helpful? Give feedback.
-
yes, i've been patching remix inside of plugins.unshift(require('esbuild-plugin-decorator').esbuildPluginDecorator({
tsconfigPath: 'tsconfig.json',compiler: 'swc'
})); I use frameworks which rely on decorators (ORM Mapping), have had zero issues, running in prod |
Beta Was this translation helpful? Give feedback.
-
Hello - my app is currently a Vite + SWC app. I'm trying to move to Remix + Vite. One motivation of using SWC is the existence of plugins that integrate with React Refresh, like this one from jotai https://jotai.org/docs/tools/swc Is it possible to do anything similar, functionally, with Remix? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
SWC : https://github.com/swc-project/swc
Beta Was this translation helpful? Give feedback.
All reactions