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
currently global scripts are loaded by script-loader. which can't be optimize or minify, and can break some library rely on global context
library1.js
'use strict'varlibrary1=function(){...}
another script rely on library1
library1(...)
they works well in traditional non-webpack environment, but currently they can't work because eval() is not allowed to add variable to context in strict mode.
since angular-cli is not allowed to modify webpack.config.js to use custom loaders.
is there any way to work-around let such a library script work now?