feat(compiler-cli): export tooling definitions (#29929)

PR Close #29929
This commit is contained in:
Filipe Silva
2019-04-17 11:43:31 +01:00
committed by Ben Lesh
parent e5905bb035
commit e1f51eaa55
7 changed files with 67 additions and 4 deletions

View File

@ -0,0 +1,22 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @module
* @description
* Tooling support helpers.
*/
/**
* Known values for global variables in `@angular/core` that Terser should set using
* https://github.com/terser-js/terser#conditional-compilation
*/
export const GLOBAL_DEFS_FOR_TERSER = {
ngDevMode: false,
ngI18nClosureMode: false,
};