Skip to content

Commit

Permalink
chore: Minified js codes
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyujie2002 committed Sep 23, 2024
1 parent 26b24f3 commit ea37a41
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// build.config.ts
import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
entries: ['./src/module.ts'],
clean: true,
declaration: true,
rollup: {
esbuild: {
minify: true,
},
},
})

0 comments on commit ea37a41

Please sign in to comment.