build(docs-infra): add support for examples of type elements (#24840)

Examples using `@angular/elements` need to transpile to es2015 for
Custom Elements to work (on browsers that natively support them).

Alternatively, a polyfill would need to be loaded. For now, changing the
transpilation target to es2015 is the simplest solution.

PR Close #24840
This commit is contained in:
George Kalpakas
2018-07-16 22:52:59 +03:00
committed by Victor Berchet
parent ead3f926cb
commit 1c533c913d
3 changed files with 32 additions and 4 deletions

View File

@ -0,0 +1,3 @@
{
"projectType": "elements"
}