diff --git a/compiler/src/gen_abc_plugin.ts b/compiler/src/gen_abc_plugin.ts index a8c4a3a..1c7deb4 100644 --- a/compiler/src/gen_abc_plugin.ts +++ b/compiler/src/gen_abc_plugin.ts @@ -361,6 +361,8 @@ function writeFileSync(inputString: string, output: string, jsBundleFile: string let sufStr: string = output.replace(buildParentPath, ''); let cacheOutputPath: string = ""; if (process.env.cachePath) { + output = toUnixPath(output); + cacheOutputPath = toUnixPath(cacheOutputPath); cacheOutputPath = path.join(process.env.cachePath, TEMPORARY, sufStr); } else { cacheOutputPath = output;