gajus / gajus/babel-plugin-react-css-modules

Plugin does't work after updating react-scripts to version 4.3.0

オープン
#299 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2k
フォーク
159
PR マージ指標
30日以内にマージされた PR はありません

説明

New `react-scripts` uses `css-loader` >= v4 that has a new `IdentName` generation. So it needs updating `generic-names` in package.json to [v3.0.0](https://github.com/css-modules/generic-names/releases/tag/v3.0.0).

As a temporary [solution](https://github.com/gajus/babel-plugin-react-css-modules/issues/279#issuecomment-656549514).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Update the generic-names dependency in package.json to v3.0.0, as required by css-loader v4 used by react-scripts 4.3.0. Check the linked temporary solution for context, then verify that the plugin works after updating react-scripts and that CSS module class-name generation remains compatible.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react
領域
frontend, tooling
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。