Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix: #15788) Always read targets options
If `modernPolyfills` is set to `true`, but `renderLegacyChunks` is set to false, `genLegacy` will be false and we would return early. If this return happens before `modernTargets` is initialized, the modern polyfills will be generated with the wrong (default?) target instead of the specified `modernTargets`.
- Loading branch information