You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
not downleveled at all.
there is no change in the es5 main chunk new Worker construct which should change to use the es5 version of the worker (which unfortunately does not exist )
🔬 Minimal Reproduction
Simple steps to reproduce this bug.
generate a new angular application
add IE11 to browserlist to allow for differential loading
use ng generate web-worker 'somename' schematic to create a worker
use polyfills (in both the app & worker code)
but make sure the code in the worker uses new ES2015 language features that need transpilation rather than polyfilling - such as Array spread, string literals etc.
🐞 Bug report
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:
🔬 Minimal Reproduction
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
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
Browser specific to IE11 or any other non-ever green browser
The text was updated successfully, but these errors were encountered: