Open Austaras opened 4 years ago
This is not fixed, it will cause vendor.js loaded in both preset. @DanielSchaffer can you reopen this?
In this scenario, does the vendor.js have mixed ES levels? It might be possible that if the stuff that gets put into the vendor chunk is already ES5 / "legacy" compatible, it could just use that for both bundles.
No. I tested it with typescript-plain
which should generate a vendor.js with only core-js
and regenerator-runtime
, it should never be loaded in modern target
set webpack config
will cause
ERROR in TypeError: Cannot read property 'options' of undefined