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
For parity with currently published zone.js, we'd like an es5 UMD bundle. Perhaps it could be produced by running a tool like babel on the es2015 output, but this would be different from other outputs. More similar would be to create it from the output of _run_tsc
Here is the changes zone.js needed, in current zone.js bundles, the following formats will be generated by rollup.
es5 umd bundle.
es5 umd minified bundle (minified by terser)
es2015 umd bundle
es2015 umd minified bundle (minified by terser)
And in 1 and 2, the rollup config doesn’t involve any plugins such as commonjs, so the bundle does not have the commonJsGlobal variable declaration
With bazel, now those features are needed to generate the same output with current zone.js bundles.
support generate umd bundle without commonjs plugin.
support generate umd bundle in es5 format (now only es2015 format is supported)
support generate umd.min bundle (now min for umd is not supported)
Activity
JiaLiPassion commentedon Apr 16, 2019
Here is the changes
zone.jsneeded, in currentzone.js bundles, the following formats will be generated byrollup.es5 umdbundle.es5 umd minifiedbundle (minified byterser)es2015 umdbundlees2015 umd minifiedbundle (minified byterser)And in
1 and 2, therollup configdoesn’t involve anypluginssuch ascommonjs, so thebundledoes not have thecommonJsGlobal variable declarationWith
bazel, now those features are needed to generate the same output withcurrent zone.js bundles.umdbundle withoutcommonjs plugin.umdbundle ines5format (now onlyes2015format is supported)umd.minbundle (nowminforumdis not supported)Thanks!
feat(rollup): provide es5 and minified umd bundles
feat(rollup): provide es5 and minified umd bundles
feat(rollup): provide es5 and minified umd bundles
feat(rollup): provide es5 and minified umd bundles
feat(rollup): provide es5 and minified umd bundles
Initial Toolchain Support