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 @@ -56,7 +56,7 @@ var ProjectCompiler = (function () {
5656 // We cannot use the `rootDir` option here, since that gives errors if the commonSourceDirectory points to a
5757 // directory containing the rootDir instead of the rootDir, which will break the build when using `noEmitOnError`.
5858 // The empty file is filtered out later on.
59- var emptyFileName = path . join ( this . project . options [ 'rootDir' ] || root , '________________empty.ts' ) ;
59+ var emptyFileName = path . join ( this . project . options [ 'rootDir' ] ? path . resolve ( this . project . projectDirectory , this . project . options [ 'rootDir' ] ) : root , '________________empty.ts' ) ;
6060 rootFilenames . push ( emptyFileName ) ;
6161 this . project . input . addContent ( emptyFileName , '' ) ;
6262 }
You can’t perform that action at this time.
0 commit comments