Replies: 15 comments 7 replies
-
Interested in this as well. I'd like to use vanilla-extract with SvelteKit which uses Vite. As Markcial mentioned above, I'll still try it out regardless but it'd be neat to be able to use this with other bundlers. |
Beta Was this translation helpful? Give feedback.
-
Interested in using this with rollup! |
Beta Was this translation helpful? Give feedback.
-
Nothing concrete at this point, but we're definitely interested in support for other bundlers. |
Beta Was this translation helpful? Give feedback.
-
Check this out — @mattcompiles managed to get vanilla-extract working with esbuild: https://twitter.com/mattcompiles/status/1376748835947511812 |
Beta Was this translation helpful? Give feedback.
-
We have an open PR adding esbuild support, should hopefully land soon: #14 |
Beta Was this translation helpful? Give feedback.
-
I'm making good progress on a Rollup integration too: https://twitter.com/markdalgleish/status/1378898886819913731 |
Beta Was this translation helpful? Give feedback.
-
Just shipped the esbuild plugin: https://github.com/seek-oss/vanilla-extract#esbuild |
Beta Was this translation helpful? Give feedback.
-
Does someone has a successful config with I tried: export default defineConfig({
plugins: [preact(), vanillaExtractPlugin({ projectRoot: path.resolve(__dirname) })],
}); Without success:
|
Beta Was this translation helpful? Give feedback.
-
@zoontek Will be looking into vite at some point soon hopefully. However, isn't rollup the primary bundler for vite? I thought esbuild was only used as a babel replacement? |
Beta Was this translation helpful? Give feedback.
-
Ah, maybe! I just tried it without knowing much about it. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that the esbuild plugin works perfectly, just tested it right now. Congratulations 👏 |
Beta Was this translation helpful? Give feedback.
-
Also interested in using this with rollup/vite - might use it in @wilsonjs. |
Beta Was this translation helpful? Give feedback.
-
Hopefully have something to show with vite very soon. |
Beta Was this translation helpful? Give feedback.
-
Just an update on the Rollup integration work—since it doesn’t have first class CSS bundling support, we're thinking it’s probably not a good target for static extraction. Vite adds CSS bundling, so that's getting our attention instead. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use vanilla extract with bun but the esbuild plugin doesn't work even though bun has partial support for esbuild plugins would be great to have a way to use it with bun |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am excited about having a new CSS in Js library with zero runtime cost.
Does this library can be used with other bundlers or is it only webpack specific?
I would like to be able to run it on a more minimal project with esbuild for example.
Not something that can hold me back to try it, I can still try it with webpack, but I am opening a low priority issue just to let you know
Thanks for your effort, appreciate it
Beta Was this translation helpful? Give feedback.
All reactions