esbuild-css-modules-plugin
esbuild-plugin-alias
esbuild-css-modules-plugin | esbuild-plugin-alias | |
---|---|---|
1 | 1 | |
90 | 32 | |
- | - | |
6.1 | 0.0 | |
25 days ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
esbuild-css-modules-plugin
-
How to set up CSS Modules with esbuild
Esbuild needs a plugin to support CSS modules. On the plugin list, there are 2 listed. I used esbuild-css-modules-plugin here. The dependencies needed to run it all successfully:
esbuild-plugin-alias
-
Some Notes on Using Esbuild
I think you should be able to do something similar to the webpack config that Vue ships would be to use https://github.com/igoradamenko/esbuild-plugin-alias and pass in a similar `runtimeCompiler` option to your build script.
What are some alternatives?
community-plugins - Community plugins for esbuild
htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
esbuild-css-modules - Example repository for an article
esbuild-loader-examples - esbuild-loader examples
svelte-typescript-esbuild-tailwind-template - Build Svelte single page applications with the best tools.
esbuild-rails - Esbuild Rails plugin
mdx-bundler - 🦤 Give me MDX/TSX strings and I'll give you back a component you can render. Supports imports!
svelte-typescript-esbuild-tailwind-
vite - Next generation frontend tooling. It's fast!
joystick - A full-stack JavaScript framework for building stable, easy-to-maintain apps and websites.
parcel - The zero configuration build tool for the web. 📦🚀