Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWeb-workers are not downleveled to es5 when using differential loading #16329
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Command (mark with an
x
)Is this a regression?
Sort of, as far as I understand your code it exists since bundle downleveling was introduced
Description
I'm trying to convert our applications to Angular/CLI. I am responsible for the current custom webpack build of 20+ internal Philips-Algotec Angular applications.
We use web-workers extensively. My custom setup supported differential loading too but did it with two builds. I see this option exists in Angular 8.x but not in 9.x using the process.env.NG_BUILD_DIFFERENTIAL_FULL=1 flag so I'm reluctant to use it.
in the current mode - bundle downleveling the worker's chunks are:
Simple steps to reproduce this bug.
ng generate web-worker 'somename'
schematic to create a workerI've created a repo with the above steps here
Anything else relevant?
Browser specific to IE11 or any other non-ever green browser