Runtime mode #668
Labels
bundler: webpack 📦
Issue is related to webpack bundler
cat: modules aliasing 🔗
Issue related to modules aliasing
cat: performance 🚀
Issue is related to performance
enhancement: proposal 💬
Improvement of current behaviour that needs to be discussed
Describe the enhancement
I would like Linaria to have a "runtime" mode with client-side style compilation like
styled-components
has. This enables working with esbuild and swc bundlers for development.Motivation
esbuild
andswc
are much faster and zero-dependency, so I don't need to have multi-gigabytenode_modules
withwebpack
andbabel
. I still want to use them for release builds (to precompile and splitcss
files), but I have a separate CI pipeline for that.Possible implementations
Linaria could have a top-level export like
linaria/runtime
which I can use as alias tolinaria
for development buildsThe text was updated successfully, but these errors were encountered: