Skip to content

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

v6.13.2

05 Jun 09:01
Compare
Choose a tag to compare
  • Adds explicit .js extension to imports of the runtime style name resolution helper injected into compiled code by this plugin, to avoid problems with ESM modules in Node environment (with type: module). — Thanks to @d-oliveros for PR #45
  • Update of dependencies.

v6.13.1

07 Apr 20:40
Compare
Choose a tag to compare

v6.13.0

05 Apr 16:20
Compare
Choose a tag to compare

v6.12.0

21 Oct 21:56
Compare
Choose a tag to compare
  • Updates dependencies.
  • Adds some TypeScript type declarations (non-exhaustive, just those options & exports I currently need in a TS project of mine relying on this plugin).
  • Officially supported Node versions now are: 18.18+ (maintenance); 20.8+ (LTS); 21.0+ (current).

v6.11.0

18 Aug 11:25
Compare
Choose a tag to compare
  • [#43] Reverts changes related to PR #42, introduced in the previous release (v6.10.0).

    When accepting the PR, it did not cross my mind that injecting an absolute path to a module into a compiled code (also suggested in #41, if I am not mistaken) is a terrible idea, as it implies that the compiled code will not work if its runtime environment is different from the build environment (e.g. modules have been moved around after the build, or the code is build on one system and used on another, etc.). I had a glance at pnpm documentation, and it seems to me that to avoid the problem PR #42 intended to solve, one just have to correctly configure his pnpm project, maybe to add some pnpm-specific configuration to this plugin as well. Not something I personally will spend my time on investigating further, unless somebody brings in funds to cover it. If you can't figure it out, neither able to bring in the funding for me to figure it out, I just suggest using the normal npm — it might be slower and less disk-space efficient, but it turns out it comes out with an easier developer experience :)

  • Updates dependencies.

v6.10.0

11 Aug 13:00
Compare
Choose a tag to compare
  • Fixes runtime class resolution for scenarios where this plugin is an indirect dependency of the host project. — Thanks to PR #42 by @moonlitusun
  • Updates dependencies.
  • Drops support for Node v14 and v19 (both reached their end-of-life); adds to CI/CD setup the testing with Node v20 (current).

v6.9.4

09 Apr 00:50
Compare
Choose a tag to compare
  • Updates dependencies.

v6.9.3

14 Dec 22:16
Compare
Choose a tag to compare
  • Updates dependencies.

v6.9.2

14 Nov 09:21
Compare
Choose a tag to compare
  • Updates dependencies.

v6.9.1

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