Browse Source

chore: fix

Evan You 1 year ago
parent
commit
8fff4ca147
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/build.js

+ 1 - 1
scripts/build.js

@@ -123,7 +123,7 @@ async function buildAll(targets) {
             rolldown(c).then(bundle => {
               return bundle.write(c.output).then(() => {
                 // @ts-expect-error
-                return path.join('packages', t, 'dist', c.output.entryFileNames)
+                return path.join('packages', t, 'dist', c.output.file)
               })
             }),
           ),