Skip to content

Commit

Permalink
feat: support native esm
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Feb 17, 2023
1 parent fe6b890 commit 05732ef
Show file tree
Hide file tree
Showing 5 changed files with 4,478 additions and 1,686 deletions.
11 changes: 11 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
entries: ['src/index'],
clean: true,
declaration: true,
rollup: {
emitCJS: true,
inlineDependencies: true,
},
})
Loading

0 comments on commit 05732ef

Please sign in to comment.