Skip to content

Commit

Permalink
fix: generated code include vite code
Browse files Browse the repository at this point in the history
close #47
  • Loading branch information
liuweiGL committed Sep 28, 2022
1 parent 8eedfd5 commit e5adc6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/build.mts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ const build = (format: Format) => {
outExtension: {
['.js']: format === 'esm' ? '.mjs' : '.js'
},
external: Object.keys(pkg.dependencies)
external: Object.keys(pkg.dependencies).concat(
Object.keys(pkg.peerDependencies)
)
})
}

Expand Down

0 comments on commit e5adc6b

Please sign in to comment.