https://github.com/angular/angular
Revision f0b5e830a5f3093459c1c6ee3c8639638dbeebf8 authored by Ryan Day on 28 April 2022, 16:29:31 UTC, committed by Dylan Hunn on 02 May 2022, 20:10:06 UTC
bazelOpts.es5Mode is being removed and replaced with devmode. Adding a
check for either will allow a smooth migration.

PR Close #45804
1 parent 0eee114
Raw File
Tip revision: f0b5e830a5f3093459c1c6ee3c8639638dbeebf8 authored by Ryan Day on 28 April 2022, 16:29:31 UTC
build(bazel): change ngc-wrapped to use new bazelOpts.devmode (#45804)
Tip revision: f0b5e83
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