Skip to content

Releases: birdofpreyru/babel-plugin-react-css-modules

v6.9.1

05 Nov 18:17
Compare
Choose a tag to compare
  • Updates dependencies.

v6.9.0

20 Oct 12:14
Compare
Choose a tag to compare
  • Updates dependencies.

  • Tagged as a minor version update because since this version the compatibility with Node 12 (end-of-life reached on April 30, 2022) is not tested within CI/CD process anymore (because latest versions of libraries being used for testing within CI/CD do not work with Node 12 anymore).

    Thus, Node 12 is not officially supported anymore, and Node 14.20.1 (scheduled end-of-life is April 30, 2023) is the minimal officially supported version now.

    See also NodeJS Release Schedule.

v6.8.2

06 Jun 19:02
Compare
Choose a tag to compare

Update of dependencies.

v6.8.0

09 Mar 22:45
Compare
Choose a tag to compare

Breaking Change

  • [#30] Support of stylesheet loading by CommonJS require(). It will be breaking for you if you actively relied on the fact that previous versions of this plugin only processed files imported like import '/path/to/style.css';, and did not process stylesheets imported like require('/path/to/style.css);.

Other Updates

  • Fixes a few corner-cases for replaceImport feature, introduced in v6.7.0.

v6.7.0

08 Mar 21:48
Compare
Choose a tag to compare

Breaking Changes

  • [#28] Requires css-loader@6.7.1 or newer.

Other Updates

  • [#29] Added replaceImport option, to be used as a better variant of removeImport option, which is now considered deprecated.
  • Dependency updates.

v6.6.1

14 Feb 20:58
Compare
Choose a tag to compare
  • [#26] It turned out that the release v6.6.0 could break stuff for people using webpackHotModuleReloading option. This release allows to set webpackHotModuleReloading equal commonjs string, which opts to use pre-v6.6.0 HMR accept code (module.hot instead of import.meta.webpackHot).
  • Dependency updates.

v6.6.0

23 Jan 20:54
Compare
Choose a tag to compare

Technically the same as 6.6.0-rc.1:

  • [#24] Fixes hot module reloading (HMR) for ESM modules.
  • [#25] Adds transform option, allowing for custom pre-processing of CSS code loaded by the plugin.

v6.6.0-rc.1

14 Jan 22:16
Compare
Choose a tag to compare
  • Includes PRs #24 and #25 by @pturchik.
  • Updates dependencies, and bumps supported node version up to >=12.x in package.json.

The changes are not supposed to break anything, but just in case I'll bump the minor release version, and also keep it RC until I have a chance to verify it in my realworld projects. Also pending README update for the new option introduced by #25 .

v6.5.4

10 Dec 19:28
Compare
Choose a tag to compare

Maintenance release, it is not supposed to alter plugin's behavior in any way

Under the hood

  • Code style revamp.
  • Small README corrections.
  • Development dependency updates.

v6.5.3

17 Nov 13:19
Compare
Choose a tag to compare
  • Small patch of v6.5.2 release (fixes #5 and #22 for some corner-cases presumably not covered by the previous release).