cli: fix cannot generate map to debugging
This commit is contained in:
parent
fda2a9a02c
commit
b5ec211c6c
@ -77,7 +77,7 @@ export async function mergeMap(mapFile: string) {
|
||||
}
|
||||
await fs.promises.writeFile(lockFile, (new Date).toString(), "utf-8")
|
||||
try {
|
||||
const buildMap = mapFile.replace(/bundle\//, 'build/')
|
||||
const buildMap = mapFile.replace(/bundle\//, '.dxx/')
|
||||
if (fs.existsSync(buildMap)) {
|
||||
const mergedMap = createMergedSourceMapFromFiles([
|
||||
buildMap,
|
||||
|
Reference in New Issue
Block a user