angular/packages/compiler-cli/src/transformers
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
..
api.ts refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead (#22783) 2018-03-15 14:52:22 -07:00
compiler_host.ts fix(bazel): improve error message for missing assets (#22096) 2018-02-08 10:01:27 -08:00
entry_points.ts Revert "Revert "Revert "perf(compiler): skip type check and emit in bazel in some cases. (#19646)""" 2017-10-12 16:09:49 -07:00
inline_resources.ts fix(compiler-cli): enableResourceInlining handles both styles and styleUrls (#22688) 2018-03-11 22:14:32 -07:00
lower_expressions.ts build: upgrade to TypeScript 2.7 (#22669) 2018-03-12 09:27:23 -07:00
metadata_cache.ts feat(compiler-cli): reflect static methods added to classes in metadata (#21926) 2018-02-01 08:30:58 -08:00
metadata_reader.ts fix(compiler-cli): propagate ts.SourceFile moduleName into metadata 2017-12-01 14:19:06 -08:00
node_emitter.ts feat(compiler): support for singleline, multiline & jsdoc comments (#22715) 2018-03-15 14:48:53 -07:00
node_emitter_transform.ts fix(compiler-cli): merge @fileoverview comments. (#20870) 2017-12-12 11:37:55 -08:00
program.ts refactor(compiler): Drop support for the deprecated <template>. Use <ng-template> instead (#22783) 2018-03-15 14:52:22 -07:00
r3_metadata_transform.ts feat(compiler-cli): reflect static methods added to classes in metadata (#21926) 2018-02-01 08:30:58 -08:00
r3_transform.ts feat: change @Injectable() to support tree-shakeable tokens (#22005) 2018-02-12 14:34:59 -08:00
util.ts feat: change @Injectable() to support tree-shakeable tokens (#22005) 2018-02-12 14:34:59 -08:00