Option to ignore unresolvable mixins

オープン
#104 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@buschtoens がすでに取り組んでいます。

2019年12月22日 から。

  • #171 @buschtoens による — オープン

評価

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

調査の方向性

Start by inspecting postcss-mixins' option handling and the path that reports an unresolvable mixin. Compare the requested behavior with the unresolved option documented for postcss-advanced-variables. Done means users can configure unresolved mixins to be ignored without breaking the build.

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

説明

Given there are multiple configurations for postcss that apply for your project, it can happen that postcss-mixins runs multiple times but the second call has the configuration for the first iteration... then the build can fail, e.g. if the mixin is not resolvable. What would be nice is an option to ignore them, similarly to what postcss-advanced-variables does.

There is an option how to handle unresolved variables, see unresolved option.

My suggestion is to add this to postcss-mixins, too.

主要言語
JavaScript
スター
486
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

postcss/postcss-mixins のほかの issue

postcss/postcss-mixins の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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