/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/localize/tools/esbuild.config.js
20 строк
586 B
Joey Perrott
build: use esbuild from aspect rules (#62568)
10 июл 2025, 23:45
10 июл 2025, 23:45
15bb258
Код
Авторство
О чём код?
/** * @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 */ module.exports = { resolveExtensions: ['.mjs', '.js'], format: 'esm', banner: { // Workaround for: https://github.com/evanw/esbuild/issues/946 // TODO: Remove this workaround in the future once devmode is ESM as well. js: ` import {createRequire as __cjsCompatRequire} from 'module'; const require = __cjsCompatRequire(import.meta.url); `, }, };