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

Cannot configure postcss-import plugin?

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

説明

Is there any way to configure postcss-import plugin?

Something like

```
"plugins": [
"postcss-import", {
"path": ["path1", "path2"]
},
"postcss-each",
"postcss-cssnext"
]
```
I can see the error that it should be string.

```
[ { keyword: 'type',
dataPath: '.filetypes[\'.css\'].plugins[0]',
schemaPath: '#/properties/filetypes/patternProperties/%5C..*/properties/plugins/items/type',
params: { type: 'string' },
message: 'should be string' } ]
```

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

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

調査の方向性

まず、filetypes['.css'].plugins[0] は文字列でなければならないと報告する設定のバリデーションを追跡し、次にプラグインエントリの読み込み方法を調査します。postcss-import が要求されたパスオプションを受け取れるようになり、既存の文字列形式のプラグイン設定が引き続き機能し、オブジェクト形式のバリデーションカバレッジが追加されれば完了です。

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

評価

技術スタック
javascript
領域
frontend, tooling
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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