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 - v25.5.0

Published by tivac over 4 years ago

25.5.0 (2020-03-09)

Bug Fixes

  • processor: better error :external can't find a file (469c859)
  • processor: better error when importing missing @value (0d06afa)
  • 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

  • website: port site to svelte3 (35e7a96)
modular-css - v25.4.1

Published by tivac over 4 years ago

25.4.1 (2020-02-12)

Note: Version bump only for package modular-css

modular-css - v25.4.0

Published by tivac over 4 years ago

25.4.0 (2020-02-05)

Features

  • add .root() to avoid re-parsing inputs when possible (#717) (fdb010b)
modular-css - v25.3.1

Published by tivac over 4 years ago

25.3.1 (2020-01-23)

Bug Fixes

  • processor: don't assume plugin key on messages (#712) (3a5279c)
modular-css - v25.3.0

Published by tivac almost 5 years ago

25.3.0 (2019-11-26)

Features

  • svelte: warn on unquoted class attributes (#690) (846f4db)
modular-css - v25.2.0

Published by tivac almost 5 years ago

25.2.0 (2019-10-30)

Bug Fixes

Features

modular-css - v25.1.0

Published by tivac about 5 years ago

25.1.0 (2019-09-23)

Features

modular-css - v25.0.0

Published by tivac about 5 years ago

25.0.0 (2019-09-16)

Bug Fixes

  • use this.emitFile() API from rollup (#666) (108a4a1)
  • www: stub out module since resolve-from uses it now (e11947c)
  • www: trying this again... (b3d9221)

Features

  • support from global for composes (#669) (0a7996e)
  • processor: allow composes anywhere in a rule (#646) (31b57a2), closes #645
  • rollup-rewriter: let loader option be a function (#667) (a57cddf)
  • stylelint-config: add @modular-css/stylelint-config package (#637) (bc3b711)

BREAKING CHANGES

  • processor: previously modular-css would require that composes be the first declaration in a rule. This restriction has been removed due to better solutions for enforcing that behavior existing now (stylelint-order).
modular-css -

Published by tivac over 5 years ago

Bug Fixes

  • Files in packages/processor/pasers/ weren't being included in npm releases
modular-css - v24.2.0

Published by tivac over 5 years ago

24.2.0 (2019-07-06)

Features

modular-css - v24.1.0

Published by tivac over 5 years ago

24.1.0 (2019-06-17)

Features

modular-css - v24.0.1

Published by tivac over 5 years ago

24.0.1 (2019-05-29)

Bug Fixes

  • rollup: properly include dependencies (#602) (c581e3d)
modular-css - v24.0.0

Published by tivac over 5 years ago

24.0.0 (2019-05-08)

Code Refactoring

  • processor: add dupewarn option and no longer resolve path case (#582) (01581f9), closes #581

BREAKING CHANGES

  • processor: It was causing massive slowdowns to synchronously resolve files using true-case-path, and making it async wasn't a guaranteed win either. So it's removed, which should solve #581 pretty neatly. Instead now there's a warning if two files are included that differ in case only. It can be disabled by setting dupewarn : false as part of the config object.
modular-css - v23.0.6

Published by tivac over 5 years ago

23.0.6 (2019-04-30)

Bug Fixes

  • svelte: properly trigger components to re-render on change (#580) (831ed50)
modular-css - v23.0.5

Published by tivac over 5 years ago

23.0.5 (2019-04-09)

Bug Fixes

modular-css - v23.0.4

Published by tivac over 5 years ago

23.0.4 (2019-04-03)

Bug Fixes

  • rollup-rewriter: include static dependencies (#577) (ca499c6)
modular-css - v23.0.3

Published by tivac over 5 years ago

23.0.3 (2019-03-29)

Bug Fixes

  • don't mutate arrays while iterating (0f63ea2)
modular-css - v23.0.0

Published by tivac over 5 years ago

23.0.0 (2019-03-28)

Bug Fixes

Features

  • replacing missing css.fooga with stringified version (#574) (2084b62)

BREAKING CHANGES

  • Previously missing {css.fooga} references would be left as-is, now they're wrapped in quotes to prevent them from causing JS errors. If you want missing classes to break things you should enable strict mode. Also no longer injecting a <script> block just to import css if there isn't already a <script> block defined in the module.
modular-css - v22.3.0

Published by tivac over 5 years ago

22.3.0 (2019-03-20)

Features

  • support supressing empty CSS files in rollup plugin (#569) (f9240a3)
modular-css - v22.2.0

Published by tivac over 5 years ago

22.2.0 (2019-03-07)

Features

  • Include Style String in Webpack Loader Output (#567) (6d883ac)