emotion babel / swc plugin
how can we add the emotion babel / swc plugin to a tanstack start app, do we have access to the vite plugin react options?
5 Replies
flat-fuchsia•7mo ago
do we have access to the vite plugin react options?yes, see the screenshot

rare-sapphireOP•7mo ago
oh nice
no swc for now? @Manuel Schiller i guess because the createServerFn is based on a babel plugin
flat-fuchsia•7mo ago
where would you want to use swc for? what would you need to configure for that?
rare-sapphireOP•7mo ago
swc emotion plugin which runs faster than the babel version
it's part of the react plugin for vite
flat-fuchsia•7mo ago
so this would require a different react vite plugin then?
is the swc build compatible with plugins that use Babel?
we use Babel extensively for start/router