feat(dev-infra): support typescript config file (#37017)
Previously ng-dev loaded the config through a javascript file, this change allows for the loaded file to be either javascript or typescript. This enables configurations to be written with type safety. PR Close #37017
This commit is contained in:
parent
de0c71c467
commit
8b65946eb8
|
@ -9,8 +9,9 @@
|
|||
import {join} from 'path';
|
||||
import {exec} from 'shelljs';
|
||||
|
||||
// The filename expected for creating the ng-dev config.
|
||||
const CONFIG_FILE_NAME = '.ng-dev-config.js';
|
||||
// The filename expected for creating the ng-dev config, without the file
|
||||
// extension to allow either a typescript or javascript file to be used.
|
||||
const CONFIG_FILE_NAME = '.ng-dev-config';
|
||||
|
||||
/**
|
||||
* Gets the path of the directory for the repository base.
|
||||
|
|
Loading…
Reference in New Issue