https://github.com/angular/angular
Revision f3eb7d9ecb9a82e7396cca658e3250e47c853153 authored by Andrew Scott on 27 April 2022, 18:53:30 UTC, committed by Dylan Hunn on 27 April 2022, 20:05:33 UTC
In order to survive closure minification correctly, static properties need to
be annotated with @nocollapse.

For more history, see https://github.com/angular/angular/pull/28050

PR Close #45783
1 parent b9a07d6
Raw File
Tip revision: f3eb7d9ecb9a82e7396cca658e3250e47c853153 authored by Andrew Scott on 27 April 2022, 18:53:30 UTC
fix(core): Ensure the `StandaloneService` is retained after closure minification (#45783)
Tip revision: f3eb7d9
gulpfile.js
/**
 * @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
 */

'use strict';

const gulp = require('gulp');

// See `tools/gulp-tasks/README.md` for information about task loading.
function loadTask(fileName, taskName) {
  const taskModule = require('./tools/gulp-tasks/' + fileName);
  const task = taskName ? taskModule[taskName] : taskModule;
  return task(gulp);
}


gulp.task('source-map-test', loadTask('source-map-test'));
gulp.task('changelog:zonejs', loadTask('changelog-zonejs'));
back to top