esbuild-sass-plugin-ysink
v2.3.4
Published
esbuild plugin for sass/scss files READ README
Downloads
529
Maintainers
Readme
A fork of esbuild-sass-plugin
This fork allows you to use CSS modules without having to have it auto-inject.
Think of it as using transform: postcssModules
with type: "css-text"
.
Just set inject: false
in the postcssModules
settings.
Get it from npm: esbuild-sass-plugin-ysink.
shelter Mode
As this plugin was primarily made for use with uwu/shelter, there is now shelter-specific support in here for Scoped APIs (also see efcaae6) to allow it to be possible to have a normal CSS Modules API while having things unload correctly.
To use it set inject: "shelter"
.