developit / developit/optimize-plugin

Babel configs are ignored

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

説明

In the ReadMe, there's the following line:

> In order to migrate to optimize-plugin, you'll need to move your babel configuration into a `.babelrc` or `babel.config.js` file ...optimize-plugin only uses your babel configuration when generating _modern_ bundles.

However, both `configFile` and `babelrc` are set to `false`:

https://github.com/developit/optimize-plugin/blob/aefb895750e217be250230f9c0cb78afc00aa4fe/src/worker.js#L59-L61

This should stop any config files from being loaded, AFAIK. Am I misunderstanding something, or are the docs outdated perhaps?

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

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

評価

この issue はまだ評価されていません。

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

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