Releases: mrmckeb/typescript-plugin-css-modules
Releases · mrmckeb/typescript-plugin-css-modules
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.
v1.3.1
v1.3.0
- 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
- Added support for custom PostCSS configs.
v1.3.0-beta.0
- Added a logger for TypeScript server errors, to help with debugging issues.
v1.2.1
v1.2.0
- Added support for resolving absolute imports, respecting
baseUrl
andpaths
(#26).
Thanks to @ChristianIvicevic and @bsunderhus for raising the related issues.
v1.1.1
v1.1.0
v1.0.5
- 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.