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'd expect that I'd get this when I set target: "es5" in tsconfig. But no - in such a case, @nrwl/web just concludes that differential loading is not supported, and generates esm modules like in the top.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
By default, @nrwl/web:application generates this in index.html:
or, depending on browserslist:
But neither of these will work if I need to load the app using the
file://
protocol (for example, in a webview).I need to have this:
I'd expect that I'd get this when I set
target: "es5"
in tsconfig. But no - in such a case, @nrwl/web just concludes that differential loading is not supported, and generates esm modules like in the top.Is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions