/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/circular-deps-test.conf.cjs
28 строк
737 B
Charles Lyding
build: use Node.js built-in TypeScript support for dev-infra scripts
02 янв 2026, 10:15
02 янв 2026, 10:15
6758f93
Код
Авторство
О чём код?
/** * @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 */ const path = require('path'); module.exports = { baseDir: '../', glob: `../{packages,adev}/**/*.ts`, resolveModule: resolveModule, ignoreTypeOnlyChecks: true, }; /** * Custom module resolver that maps specifiers starting with `@angular/` to the * local packages folder. This ensures that cross package/entry-point dependencies * can be detected. */ function resolveModule(specifier) { if (specifier.startsWith('@angular/')) { return path.join(__dirname, specifier.slice('@angular/'.length)); } return null; }