mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e8c5603126
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults PR Close #62627
18 lines
481 B
JavaScript
18 lines
481 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.dev/license
|
|
*/
|
|
|
|
export default {
|
|
// Neceesary because mermaid related scripts rely on cjs based requires.
|
|
banner: {
|
|
'js': `
|
|
import {createRequire as __cjsCompatRequire} from 'module';
|
|
const require = __cjsCompatRequire(import.meta.url);`,
|
|
},
|
|
resolveExtensions: ['.js', '.mjs'],
|
|
};
|