mirror of
https://github.com/angular/angular-cli.git
synced 2025-06-01 10:46:14 +08:00
The `ng-dev` tool is now strict ESM. Config loading needs to be updated to also emit `.mjs` with `ts-node` (this cannot happen dynamically as ESM Node loading cannot be patched by ts-node at runtime).
12 lines
258 B
TypeScript
12 lines
258 B
TypeScript
import { FormatConfig } from '@angular/dev-infra-private/ng-dev';
|
|
|
|
/**
|
|
* Configuration for the `ng-dev format` command.
|
|
*/
|
|
export const format: FormatConfig = {
|
|
'prettier': {
|
|
matchers: ['**/*.{ts,js,json,yml,yaml,md}'],
|
|
},
|
|
'buildifier': true,
|
|
};
|