Skip to content

Commit

Permalink
fix(angular): should find the tsconfig at root of project #14379 (#14514
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Coly010 authored Jan 20, 2023
1 parent 61f7a9a commit ce04b80
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ import type { Schema } from './schema';
import { createTmpTsConfigForBuildableLibs } from '../utilities/buildable-libs';
import { from } from 'rxjs';
import { switchMap } from 'rxjs/operators';
import { getRootTsConfigPath } from 'nx/src/utils/typescript';

export function executeWebpackDevServerBuilder(
rawOptions: Schema,
context: import('@angular-devkit/architect').BuilderContext
) {
process.env.NX_TSCONFIG_PATH = joinPathFragments(
context.workspaceRoot,
'tsconfig.base.json'
);
process.env.NX_TSCONFIG_PATH = getRootTsConfigPath();

const options = normalizeOptions(rawOptions);

Expand Down

0 comments on commit ce04b80

Please sign in to comment.