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 visible (Hide)

modular-css - @modular-css/[email protected] Latest Release

Published by github-actions[bot] 10 months ago

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

28.0.0 (2022-02-25)

Note: Version bump only for package @modular-css/rollup-rewriter

27.1.0 (2022-02-03)

Note: Version bump only for package @modular-css/rollup-rewriter

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • #983 63af4ac3 Thanks @tivac! - Ensure that aliased values get exported, fixing #982

    @value * as values from "./other-file.css";
    @value local: values.somevalue;
    

    Previously that local value wouldn't exist in the JS exports, it was mistakenly treated like the values external value.

    Also adds semi-colons to variable declarations in the generated JS for vite/rollup/webpack.

  • Updated dependencies [63af4ac3]:

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • #983 63af4ac3 Thanks @tivac! - Ensure that aliased values get exported, fixing #982

    @value * as values from "./other-file.css";
    @value local: values.somevalue;
    

    Previously that local value wouldn't exist in the JS exports, it was mistakenly treated like the values external value.

    Also adds semi-colons to variable declarations in the generated JS for vite/rollup/webpack.

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • #983 63af4ac3 Thanks @tivac! - Ensure that aliased values get exported, fixing #982

    @value * as values from "./other-file.css";
    @value local: values.somevalue;
    

    Previously that local value wouldn't exist in the JS exports, it was mistakenly treated like the values external value.

    Also adds semi-colons to variable declarations in the generated JS for vite/rollup/webpack.

  • Updated dependencies [63af4ac3]:

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • #972 673df5d3 Thanks @tivac! - Improved vite integration, now correctly invalidating files when a file is changed or deleted.
    Improved invalidation in the processor, preventing stale @value or composes references from being output.
  • Updated dependencies [673df5d3]:
modular-css - @modular-css/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

modular-css - @modular-css/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • #972 673df5d3 Thanks @tivac! - Improved vite integration, now correctly invalidating files when a file is changed or deleted.
    Improved invalidation in the processor, preventing stale @value or composes references from being output.
modular-css - @modular-css/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes