Skip to content

Commit

Permalink
chore: 🔧 disable rollup's named & default exports together warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Nov 5, 2024
1 parent 91ef746 commit af70ee1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export default defineBuildConfig({
externals: ['vite'],
declaration: true,
rollup: {
emitCJS: true
emitCJS: true,
output: {
exports: 'named'
}
}
});

0 comments on commit af70ee1

Please sign in to comment.