angular-cn/aio/tools/example-zipper/customizer/package-json
George Kalpakas 2e4244d521 fix(docs-infra): fix `elements` example when used with ES5 (#36536)
Previously, the `elements` docs example only worked in browsers that
natively supported Custom Elements and ES2015 modules. Furthermore, it
didn't work on StackBlitz, because StackBlitz ignores the specified
`target` in `tsconfig.json` and uses the UMD bundles (i.e. ES5 code)
even on browsers that do support ES2015.
(NOTE: In the past, this was not a problem, because we explicitly did
not provide a StackBlitz example. This has changed in #36067.)

This commit ensures the example works on all browsers and also on
StackBlitz by providing the necessary Custom Elements polyfills.

Fixes #36532

PR Close #36536
2020-04-09 13:35:27 -07:00
..
base.json build(docs-infra): update docs examples `package.json` templates wrt `core-js` (#36143) 2020-04-06 15:31:07 -07:00
cli-ajs.json build(docs-infra): switch docs examples to Ivy (#36143) 2020-04-06 15:31:07 -07:00
cli.json build(docs-infra): switch docs examples to Ivy (#36143) 2020-04-06 15:31:07 -07:00
elements.json fix(docs-infra): fix `elements` example when used with ES5 (#36536) 2020-04-09 13:35:27 -07:00
getting-started.json build(docs-infra): switch docs examples to Ivy (#36143) 2020-04-06 15:31:07 -07:00
i18n.json build(docs-infra): switch docs examples to Ivy (#36143) 2020-04-06 15:31:07 -07:00
package.json build(aio): ability to generate zips 2017-04-19 11:34:39 +01:00
packageJsonCustomizer.js fix(docs-infra): use clean package.json template when generating zips (#24691) 2018-06-28 15:01:00 -07:00
schematics.json build(docs-infra): switch docs examples to Ivy (#36143) 2020-04-06 15:31:07 -07:00
systemjs.json build(docs-infra): update docs examples `package.json` templates wrt `core-js` (#36143) 2020-04-06 15:31:07 -07:00
testing.json fix(docs-infra): use clean package.json template when generating zips (#24691) 2018-06-28 15:01:00 -07:00
universal.json fix(docs-infra): use clean package.json template when generating zips (#24691) 2018-06-28 15:01:00 -07:00