Skip to content

Releases: styu/postcss-typesafe-css-modules

v2.0.1

22 Sep 15:56
ea3d827
Compare
Choose a tag to compare

What's Changed

  • Fix instructions in README by @styu in #38

v2.0.0

20 Sep 15:04
a9f06a8
Compare
Choose a tag to compare

Breaking changes

  • Fix esm / cjs dual publishing by @walkerburgin in #36. This means that importing in CommonJS no longer needs to be accessed via .default
// Before (1.x)
module.exports = {
    syntax: require("postcss-scss"),
    plugins: [
        require("@csstools/postcss-sass")(),
        require("postcss-typesafe-css-modules").default,
    ],
};

// After (2.x)
module.exports = {
    syntax: require("postcss-scss"),
    plugins: [
        require("@csstools/postcss-sass")(),
        require("postcss-typesafe-css-modules"),
    ],
};

v1.0.0

06 Sep 20:16
96c1ea3
Compare
Choose a tag to compare
  • Support variables exported via :export by @styu in #24

v0.4.0

04 Sep 17:09
149dd93
Compare
Choose a tag to compare
  • Add usage section to README by @styu in #20
  • Output .css instead of .module.css by @styu in #21

v0.3.0

01 Sep 19:45
14a6403
Compare
Choose a tag to compare
  • Transform ESM imports to use .mjs in relative files by @styu in #18

v0.2.2

01 Sep 16:12
9c03f01
Compare
Choose a tag to compare

Re-publishing, 0.2.1 was a bad release

v0.2.1

01 Sep 16:00
14d60d6
Compare
Choose a tag to compare
  • Fix repository URL by @styu in #13
  • Turn off verbatimModuleSyntax by @styu in #14

v0.2.0

01 Sep 15:50
87dd48a
Compare
Choose a tag to compare
  • Output mjs files, add release workflow by @styu in #11