File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export class ProjectCompiler implements ICompiler {
8888 // We cannot use the `rootDir` option here, since that gives errors if the commonSourceDirectory points to a
8989 // directory containing the rootDir instead of the rootDir, which will break the build when using `noEmitOnError`.
9090 // The empty file is filtered out later on.
91- let emptyFileName = path . join ( this . project . options [ 'rootDir' ] || root , '________________empty.ts' ) ;
91+ let emptyFileName = path . join ( this . project . options [ 'rootDir' ] ? path . resolve ( this . project . projectDirectory , this . project . options [ 'rootDir' ] ) : root , '________________empty.ts' ) ;
9292 rootFilenames . push ( emptyFileName ) ;
9393 this . project . input . addContent ( emptyFileName , '' ) ;
9494 }
You can’t perform that action at this time.
0 commit comments