mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Since the `defaults.bzl` repo-wide macros are now supporting ESM, the special spec-bundle logic from `devtools` can be removed. Also the esbuild configurations need to be updated to account for the recent dev-infra build-tooling changes. Also properly now ensures that `aysnc/await` is downleveled for ZoneJS compatibility. PR Close #48521
16 lines
529 B
JavaScript
16 lines
529 B
JavaScript
/**
|
|
* @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
|
|
*/
|
|
|
|
import createConfig from './esbuild-base.config.mjs';
|
|
|
|
export default {
|
|
...createConfig({enableLinker: true, optimize: false}),
|
|
// Use the `iife` format for the test entry-point as tests should run immediately.
|
|
// For browser tests which are wrapped in an AMD header and footer, this works as well.
|
|
format: 'iife',
|
|
};
|