Skip to content

Releases: mrmckeb/typescript-plugin-css-modules

v2.5.0

12 Sep 14:45
Compare
Choose a tag to compare
  • Loosened the peerDependency version for TypeScript to support any version greater than or equal to 3.0.0.

Thanks to @ekilah for raising this issue.

v2.4.0

06 Jul 07:50
Compare
Choose a tag to compare
  • Added support for Stylus (#91).

Thanks to @xiaoboost for their work on this feature.

v2.3.0

27 Apr 09:29
Compare
Choose a tag to compare
  • Added support for using a published package as a customRenderer (#80).
  • Fixed issues reported by GitHub dependency alerts.

Thanks to @dancon for their help with this release.

v2.2.0

28 Feb 09:02
Compare
Choose a tag to compare
  • Added the ability to provide a custom template for formatting and modifying DTS output (#73).

Thanks to @joeljeske for their help with this release.

v2.1.2

15 Dec 18:19
Compare
Choose a tag to compare
  • Resolved an issue where .sass files were not processed by the Sass renderer (#68).
  • Updated the current working directory to be the TypeScript directory (#69). This ensures that process.cwd() now returns as expected.

Thanks to @judehunter and @muj-beg for their help with this release.

v2.1.1

01 Dec 13:17
Compare
Choose a tag to compare
  • Resolves an issue with paths on Windows (#63).

Thanks to @hellocontrol-bng/@jakelauer for finding and resolving this issue.

v2.1.0

18 Nov 08:49
Compare
Choose a tag to compare
  • includePaths in sass options will now extend, not override defaults (#60).
  • VSCode instructions have been updated (#61).

Thanks to @dagda1 for the work on #61, and thanks to @thekevinbrown for the documentation update.

v2.0.2

27 Oct 09:09
Compare
Choose a tag to compare
  • Solves an issue where dotenv options were created, but not used (#59).

Thanks to @PsiRadish for feedback on this feature.

v2.0.1

25 Oct 09:56
Compare
Choose a tag to compare
  • Resolved an issue where non-absolute paths in SASS_PATH were not be normalised (#58).

Thanks to @PsiRadish for his help with this release.

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.