feat(compiler-cli): export tooling definitions (#29929)
PR Close #29929
This commit is contained in:
22
packages/compiler-cli/src/tooling.ts
Normal file
22
packages/compiler-cli/src/tooling.ts
Normal 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,
|
||||
};
|
Reference in New Issue
Block a user