modular-css

CSS Modules, but better and usable via Rollup, Vite, Webpack, CLI, PostCSS, or JS API

MIT License

Downloads
29.7K
Stars
288
Committers
24

Bot releases are hidden (Show)

modular-css - v28.2.0

Published by tivac over 2 years ago

28.2.0 (2022-06-20)

Bug Fixes

Features

  • css-to-js: abs vs rel imports (162c0be)
  • webpack: webpack@5 support (2de5396)
modular-css - v28.1.4

Published by tivac over 2 years ago

28.1.4 (2022-06-16)

Bug Fixes

  • only include direct deps in compositions (#857) (58f65c4)
modular-css - v28.1.3

Published by tivac over 2 years ago

28.1.3 (2022-06-15)

Bug Fixes

modular-css - v28.1.2

Published by tivac over 2 years ago

28.1.2 (2022-05-25)

Bug Fixes

modular-css - v28.1.1

Published by tivac over 2 years ago

28.1.1 (2022-04-08)

Bug Fixes

modular-css - v28.1.0

Published by tivac over 2 years ago

28.1.0 (2022-03-11)

Features

modular-css - v28.0.0

Published by tivac over 2 years ago

28.0.0 (2022-02-25)

Code Refactoring

  • svelte: tags need type="text/m-css" (713b107)
  • svelte: break apart a bit (5f74c1e)

Features

BREAKING CHANGES

  • svelte: Having both <style type="text/m-css"> and a <link> element in a component will no longer throw. <style> takes precedence over <link>.
  • svelte: Previous all <style> tags would be transformed, now only ones that have type="text/m-css" on them will be transformed.
modular-css - v27.2.0

Published by tivac over 2 years ago

27.2.0 (2022-02-13)

Bug Fixes

  • path-aliases: escape regex characters (fecbf3b)
  • svelte: escape regex characters (9345aed)

Features

  • www: add sveltekit aliases (695c69b)
  • www: notifier for imported .md files (cd1f948)
modular-css - v27.1.1

Published by tivac over 2 years ago

27.1.1 (2022-02-09)

Bug Fixes

modular-css - v27.1.0

Published by tivac over 2 years ago

27.1.0 (2022-02-03)

Bug Fixes

  • processor: cleaning up (897a2c5)
  • svelte: support non .css extensions (8bf5a18)
  • test-utils: don't try to check non-strings (4fb497e)
  • webpack: remove deprecated cjs option (3489907)

Features

  • css-to-js: extract css-to-js from rollup (85aac89)
  • vite: vite plugin (46c80da)
  • www: m-css.com on sveltekit (d434f92)
modular-css - v27.0.0

Published by tivac over 2 years ago

27.0.0 (2021-07-06)

Bug Fixes

Code Refactoring

Features

  • Add .warnings to processor (eb0e117)

BREAKING CHANGES

  • Requires postcss@8 be installed alongside to function.
modular-css - v27.0.1

Published by tivac over 2 years ago

27.0.1 (2021-07-18)

Bug Fixes

modular-css - v27.0.2

Published by tivac over 2 years ago

27.0.2 (2021-07-18)

Bug Fixes

modular-css - v27.0.3

Published by tivac over 2 years ago

27.0.3 (2021-12-17)

Bug Fixes

Code Refactoring

BREAKING CHANGES

  • Only supports postcss@8 and higher
  • composes and @values that reference other entries will need to be listed in dependency order.
modular-css -

Published by tivac over 3 years ago

26.0.0 (2021-02-25)

Bug Fixes

Features

BREAKING CHANGES

  • postcss@8 upgrade means dropped support for node version 6.x, 8.x, 11.x, and 13.x.
  • @modular-css/processor: .dependencies() was renamed to .fileDependencies()
  • @modular-css/rollup: All @values are now output within a new $values key, previously they were mixed in with classes
  • @modular-css/rollup: Removed namedExportconfig key, named exports are always enabled
  • @modular-css/rollup: Removed common config key, it was unused
  • @modular-css/browserify: All @values are now output within a new $values key, previously they were mixed in with classes
  • @modular-css/webpack: All @values are now output within a new $values key, previously they were mixed in with classes
modular-css - v25.8.2

Published by tivac about 4 years ago

25.8.2 (2020-09-02)

Bug Fixes

modular-css - v25.8.1

Published by tivac about 4 years ago

25.8.1 (2020-07-30)

Bug Fixes

modular-css - v25.8.0

Published by tivac over 4 years ago

25.8.0 (2020-06-29)

Bug Fixes

  • remove rule if there's no other decls (#769) (9215873)

Features

modular-css - v25.7.0

Published by tivac over 4 years ago

25.7.0 (2020-05-15)

Features

  • Support escaped characters in composed class names (#755) (6cd4d8a)
modular-css - v25.6.0

Published by tivac over 4 years ago

25.6.0 (2020-04-21)

Bug Fixes

  • processor: better error :external can't find a file (469c859)
  • processor: better error when importing missing @value (0d06afa)
  • rewriter: don't explode on external chunks (#749) (be741bb), closes #688
  • rollup: walk full tree for dependencies (#748) (3ba7c3e)
  • svelte: case-sensitive matching on (#744) (8577e3f), closes #711
  • webpack: don't try to emit if there were errors (#725) (e9de291), closes #724
  • www: better font, faster load (0237987)
  • www: corrected font sizing (b97149e)

Features