developit / developit/optimize-plugin

Babel configs are ignored

Đang mở
#27 8 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
651
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.