mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Migrate angular-optimization to devtools instead of loading via npm package PR Close #62503
16 lines
538 B
TypeScript
16 lines
538 B
TypeScript
/**
|
|
* @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.dev/license
|
|
*/
|
|
|
|
import createConfig from './esbuild-base.config.mjs';
|
|
|
|
export default {
|
|
...(await 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',
|
|
};
|