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:
|
const modern = await babel.transformAsync(source, { |
|
configFile: false, |
|
babelrc: false, |
This should stop any config files from being loaded, AFAIK. Am I misunderstanding something, or are the docs outdated perhaps?
In the ReadMe, there's the following line:
However, both
configFileandbabelrcare set tofalse:optimize-plugin/src/worker.js
Lines 59 to 61 in aefb895
This should stop any config files from being loaded, AFAIK. Am I misunderstanding something, or are the docs outdated perhaps?