UNPKG

@ngtools/webpack

Version:

Webpack plugin that AoT compiles your Angular components and modules.

28 lines (27 loc) 730 B
"use strict"; /** * @license * Copyright Google LLC 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 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.timeEnd = exports.time = void 0; // Internal benchmark reporting flag. // Use with CLI --no-progress flag for best results. // This should be false for commited code. const _benchmark = false; /* eslint-disable no-console */ function time(label) { if (_benchmark) { console.time(label); } } exports.time = time; function timeEnd(label) { if (_benchmark) { console.timeEnd(label); } } exports.timeEnd = timeEnd;