diff options
Diffstat (limited to 'cli/js/compiler.ts')
-rw-r--r-- | cli/js/compiler.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/js/compiler.ts b/cli/js/compiler.ts index 385b76eec..d3cd67119 100644 --- a/cli/js/compiler.ts +++ b/cli/js/compiler.ts @@ -54,6 +54,7 @@ interface CompilerRequestCompile { unstable: boolean; bundle: boolean; outFile?: string; + cwd: string; } interface CompilerRequestRuntimeCompile { @@ -100,6 +101,7 @@ async function compile( rootNames, target, unstable, + cwd, } = request; util.log(">>> compile start", { rootNames, @@ -132,7 +134,7 @@ async function compile( // if there is a configuration supplied, we need to parse that if (config && config.length && configPath) { - const configResult = host.configure(configPath, config); + const configResult = host.configure(cwd, configPath, config); diagnostics = processConfigureResponse(configResult, configPath); } |