angular/packages/compiler-cli/src
Victor Berchet 0ebd577db4 refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead (#22783)
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close #22783
2018-03-15 14:52:22 -07:00
..
diagnostics build: upgrade to TypeScript 2.7 (#22669) 2018-03-12 09:27:23 -07:00
metadata fix(core): require factory to be provided for shakeable InjectionToken (#22207) 2018-02-15 16:16:16 -08:00
transformers refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead (#22783) 2018-03-15 14:52:22 -07:00
extract_i18n.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04:00
language_services.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
main.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
ngtools_api.ts fix(compiler-cli): only use error collector when needed. (#19912) 2017-10-24 17:06:41 -04:00
ngtools_api2.ts refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead (#22783) 2018-03-15 14:52:22 -07:00
perform_compile.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
perform_watch.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
version.ts refactor(compiler): split compiler and core (#18683) 2017-08-16 17:58:53 -05:00