2.3.4 • Published 3 months ago

esbuild-sass-plugin-ysink v2.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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".