Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

デフォルトプラグイン設定の上書き機能を追加 #15

Closed
qrac opened this issue Dec 6, 2021 · 2 comments
Closed

デフォルトプラグイン設定の上書き機能を追加 #15

qrac opened this issue Dec 6, 2021 · 2 comments

Comments

@qrac
Copy link
Owner

qrac commented Dec 6, 2021

デフォルトのMiniCssExtractPluginで出力されるCSSは命名変更や複数出力ができないため、設定のオーバーライド機能を作って解決させる。今後、デフォルトのプラグインがユーザー側と競合することも考え、競合したものを上書きできるようにしておく。その過程でCopyPluginの上書きもできるようになる。

webpack-mergeのカスタマイズ機能を使う予定。

@qrac qrac changed the title MiniCssExtractPlugin・CopyPluginの設定を上書きできる機能を追加 デフォルトプラグイン設定の上書き機能を追加 Dec 6, 2021
@qrac
Copy link
Owner Author

qrac commented Dec 6, 2021

optimization {minimizer: []} は、記述があった場合に追加ではなくデフォルトと完全に差し替えられるようにする、

qrac added a commit that referenced this issue Dec 6, 2021
@qrac
Copy link
Owner Author

qrac commented Dec 6, 2021

v0.11.0にて反映。

@qrac qrac closed this as completed Dec 6, 2021
qrac added a commit that referenced this issue Dec 7, 2021
qrac added a commit that referenced this issue Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant