Commit ea19aba8be5cc266903d39716af2e4389130e5ca

Authored by ww
1 parent 98f606aa

fix: 修复复制oss文件名拼接问题

... ... @@ -26,7 +26,7 @@ export function OssPlugin({ enableOss }: OssPluginParamsType): Plugin {
26 26
27 27 for (const item of needCopyFilePathList) {
28 28 const { name, ext } = parse(item)
29   - copyFileSync(item, `${outputDirPath}/${name}.${ext}`)
  29 + copyFileSync(item, `${outputDirPath}/${name}${ext}`)
30 30 }
31 31
32 32 // eslint-disable-next-line no-console
... ...