MCPcopy Index your code
hub / github.com/angular/angular / createConfig

Function createConfig

packages/compiler-cli/test/perform_watch_spec.ts:27–36  ·  view source on GitHub ↗
(overrideOptions: ng.CompilerOptions = {})

Source from the content-addressed store, hash-verified

25 });
26
27 function createConfig(overrideOptions: ng.CompilerOptions = {}): ng.ParsedConfiguration {
28 const options = testSupport.createCompilerOptions({outDir, ...overrideOptions});
29 return {
30 options,
31 rootNames: [path.resolve(testSupport.basePath, 'src/index.ts')],
32 project: path.resolve(testSupport.basePath, 'src/tsconfig.json'),
33 emitFlags: ng.EmitFlags.Default,
34 errors: [],
35 };
36 }
37
38 it('should compile files during the initial run', () => {
39 const config = createConfig();

Callers 1

Calls 2

createCompilerOptionsMethod · 0.80
resolveMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…