mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-11-26 17:10:58 +00:00
!633 FA模型下,abc中使用源码的相对路径
Merge pull request !633 from 施涛/fa_abc_relative_path
This commit is contained in:
commit
6a23e08b91
@ -199,7 +199,7 @@ function writeFileSync(inputString, buildPath, keyPath, jsBundleFile, isToBin) {
|
||||
const buildJsonInfo = JSON.parse(fs.readFileSync(process.env.aceBuildJson).toString());
|
||||
sourceFile = toUnixPath(sourceFile.replace(buildJsonInfo.projectRootPath + path.sep, ''));
|
||||
} else {
|
||||
sourceFile = toUnixPath(sourceFile);
|
||||
sourceFile = toUnixPath(sourceFile.replace(process.env.projectRootPath + path.sep, ''));
|
||||
}
|
||||
output = toUnixPath(output);
|
||||
cacheOutputPath = toUnixPath(cacheOutputPath);
|
||||
|
Loading…
Reference in New Issue
Block a user