Releases: mrmckeb/typescript-plugin-css-modules
Releases · mrmckeb/typescript-plugin-css-modules
v2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.2
- 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
v2.1.0
v2.0.2
v2.0.1
v2.0.0
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 underpostCssOptions
. - Async plugins can now be excluded via a new
excludePlugins
rule.
New features:
- Added relative
@import
support (#50). - Added
.env
support for variables likeSASS_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 viadotenvOptions
(#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.