A esbuild plugin to bundle css modules into js(x)/ts(x)
MIT License
Bot releases are hidden (Show)
Published by indooorsman over 2 years ago
Lock @parcel/css
version to 1.7.3, there's a breaking change from 1.7.3 to 1.7.4, the position of hash in selector changed, e.g.:
@parcel/[email protected]
: .some-class
==> .some-class_[hash]
@parcel/[email protected]
: .some-class
==> .[hash]_some-class
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.13...v2.2.14
Published by indooorsman over 2 years ago
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.12...v2.2.13
Published by indooorsman over 2 years ago
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.11...v2.2.12
Published by indooorsman over 2 years ago
replace process.memoryUsage.rss()
to process.memoryUsage().rss
to support Nodejs<15.6.0
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.10...v2.2.11
Published by indooorsman over 2 years ago
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.8...v2.2.10
Published by indooorsman over 2 years ago
entryPoints
as objectPublished by indooorsman over 2 years ago
onResolve
for .modules.css
files to add sideEffects: true
& namespace
to the resolve resultwatch
modeFull Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.5...v2.2.6
Published by indooorsman over 2 years ago
v2
will not generate temporary folders/files anymorev2
now support auto inject generated css into pageinject
for and only for v2
can be set to a css selector of the element which you want to inject css to, if the element can't be found then inject to document.head
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.1...v2.2.5
Published by indooorsman over 2 years ago
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.0...v2.2.1
Published by indooorsman over 2 years ago
v2
now support auto inject generated css into pageinject
for and only for v2
can be set to a css selector of the element which you want to inject css to, if the element can't be found then inject to document.head
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.1.6...v2.2.0
Published by indooorsman over 2 years ago
Published by indooorsman over 2 years ago
Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.1.4...v2.1.5
Published by indooorsman over 2 years ago
.some-class
in some.module.css
will be transformed to .some-module__some-class-[hash]
Published by indooorsman over 2 years ago