Skip to content

Releases: mrmckeb/typescript-plugin-css-modules

v2.0.0

20 Oct 16:44
Compare
Choose a tag to compare

Breaking changes:

The camelCase has been renamed to classnameTransform (#55).

  • Supported options are now 'asIs', 'camelCase', 'camelCaseOnly', 'dashes', and 'dashesOnly'
  • This change aligns with the current version of css-loader.

PostCSS configs are no longer loaded automatically (#55).

  • A useConfig option has been introduced under postCssOptions.
  • Async plugins can now be excluded via a new excludePlugins rule.

New features:

  • Added relative @import support (#50).
  • Added .env support for variables like SASS_PATH (#51)
  • Added rendererOptions for passing options into Sass and Less renderers (#54).
  • Support for custom renderers has been introduced (#55).
  • Added support for dotenv configuration via dotenvOptions (#55).

Please see Options in our README for more details on new features.

Thanks to @BasilPP, @dagda1, @JounQin, @k-g-a, @lianapache, @p7g, @PsiRadish, and @woshiguabi for their help with this release.

v1.3.1

18 Sep 08:12
Compare
Choose a tag to compare
  • Resolved a release issue.

v1.3.0

18 Sep 08:12
Compare
Choose a tag to compare
  • Added a logger for TypeScript server errors, to help with debugging issues (#36).
  • Added support for custom PostCSS configs (#33).
  • Added a temporary fix for an issue where DTS files are passed to the snapshot creator (#43).

Thanks to @dagda1, @hipstersmoothie, and @dko-slapdash for their help with this release.

v1.3.0-beta.1

07 Sep 12:01
Compare
Choose a tag to compare
v1.3.0-beta.1 Pre-release
Pre-release
  • Added support for custom PostCSS configs.

v1.3.0-beta.0

07 Sep 11:54
Compare
Choose a tag to compare
v1.3.0-beta.0 Pre-release
Pre-release
  • Added a logger for TypeScript server errors, to help with debugging issues.

v1.2.1

14 Jul 18:09
Compare
Choose a tag to compare
  • Resolved an issue where CSS files containing PostCSS failed to be parsed (#28).
  • Resolved an issue where Sass imports were not resolved correctly (#31).

Thanks to @jgoz for raising and resolving #28, and to @zaaack for raising #29.

v1.2.0

09 Jun 14:06
Compare
Choose a tag to compare
  • Added support for resolving absolute imports, respecting baseUrl and paths (#26).

Thanks to @ChristianIvicevic and @bsunderhus for raising the related issues.

v1.1.1

26 May 04:47
Compare
Choose a tag to compare
  • Fixed a bug with LESS extension matching (#23).

v1.1.0

25 May 19:09
Compare
Choose a tag to compare
  • Added extended Sass support (#20).
  • Added LESS support (#21).
  • Added named exports for valid classes (#22).

Thanks to @Aqours, @babakness, @erwan-joly, and @spawluk for raising the related issues.

v1.0.5

07 Jan 09:42
Compare
Choose a tag to compare
  • Resolved an issue where blank CSS files caused the plugin to crash (#13).
  • Resolved an issue where single-line (Sass-style) comments caused the plugin to crash (#13).
  • Extended nesting support to handle class concatenation (#14).

Thanks to @ChristianIvicevic for finding and raising these issues.