esbuild-css-modules-plugin

A esbuild plugin to bundle css modules into js(x)/ts(x)

MIT License

Downloads
118.3K
Stars
91
Committers
10

Bot releases are visible (Hide)

esbuild-css-modules-plugin - v3.1.2 Latest Release

Published by indooorsman 6 months ago

esbuild-css-modules-plugin - v3.1.1

Published by indooorsman 6 months ago

What's Changed

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v3.1.0...v3.1.1

esbuild-css-modules-plugin - v3.1.0

Published by indooorsman 11 months ago

What's Changed

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v3.0.3...v3.1.0

esbuild-css-modules-plugin - v3.0.3

Published by indooorsman about 1 year ago

esbuild-css-modules-plugin - v3.0.2

Published by indooorsman about 1 year ago

  • Do not emit .d.ts for files outside of build root

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v3.0.1...v3.0.2

esbuild-css-modules-plugin - v3.0.1

Published by indooorsman about 1 year ago

V3.0.1

  • add ability to custom ts declaration file outdir, e.g.:
{
  emitDeclarationFile: {
    '.css.d.ts': './dist/no-bundle',
    '.d.css.ts': './generated-dts'
  }
}
esbuild-css-modules-plugin - v3.0.0

Published by indooorsman about 1 year ago

V3.0.0

This version has some breaking changes:

  • drop postcss-module, as a result most of postcss-module configurations are removed as well
  • remove v2 feature flag

Other changes:

  • full support of compose
  • code refactor
  • export both commonjs & es module

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.7.1...v3.0.0

esbuild-css-modules-plugin - v3.0.0-dev.16

Published by indooorsman over 1 year ago

  • refactor code
  • support compose

Breaking changes:

  • postcss dependencies are removed
  • v2 option is removed

npm i [email protected]

esbuild-css-modules-plugin - v2.7.1

Published by indooorsman over 1 year ago

esbuild-css-modules-plugin - v2.7.0

Published by indooorsman almost 2 years ago

  • fix inject logic to avoid styles missing in some micro-frontend framework
  • Important: there's a breaking change of inject logic, before this version the inject method would be deleted once it's called, from this verson it will not be deleted anymore, for people using custom inject method please pay attention.

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.6.3...v2.7.0

esbuild-css-modules-plugin - v2.6.3

Published by indooorsman almost 2 years ago

  • upgrade dependencies
  • fix #45 #46, thanks to @markdalgleish

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.6.2...v2.6.3

esbuild-css-modules-plugin - v2.6.2

Published by indooorsman almost 2 years ago

esbuild-css-modules-plugin - v2.6.0

Published by indooorsman about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.5.2...v2.6.0

esbuild-css-modules-plugin - v2.5.2

Published by indooorsman about 2 years ago

upgrade esbuild version in peerDependencies to ^0.14.0 || ^0.15.0

esbuild-css-modules-plugin - v2.5.0

Published by indooorsman about 2 years ago

  • upgrade @parcel/css to 1.12.0
  • validate class name, js keywords are considered to be invalid, e.g. .default { } .const { } will throw error during building

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.4.0...v2.5.0

esbuild-css-modules-plugin - v2.4.0

Published by indooorsman over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.3.2...v2.4.0

esbuild-css-modules-plugin - v2.3.2

Published by indooorsman over 2 years ago

feat: add support for named exports #38

this is contributed by @LucaColonnello

esbuild-css-modules-plugin - v2.3.1

Published by indooorsman over 2 years ago

esbuild-css-modules-plugin - v2.3.0

Published by indooorsman over 2 years ago

V2.3.0

Full Changelog: https://github.com/indooorsman/esbuild-css-modules-plugin/compare/v2.2.16...v2.3.0

esbuild-css-modules-plugin - v2.2.16

Published by indooorsman over 2 years ago

V2: pass relative path to @parcel/css as filename to keep hash stable in different machines

Full Changelog: changelog.md