diff --git a/src/packByWebpack/ExtractImageFilesPlugin.ts b/src/packByWebpack/ExtractImageFilesPlugin.ts index 72ec37c..c128824 100644 --- a/src/packByWebpack/ExtractImageFilesPlugin.ts +++ b/src/packByWebpack/ExtractImageFilesPlugin.ts @@ -28,7 +28,7 @@ export default class ExtractImageFilesPlugin { .replace('node_modules', 'npm') fse.copySync(realPath, targetPath) - outFiles[imagePath] = realPath + outFiles[imagePath] = targetPath } const fileKeys = Object.keys(outFiles)