Skip to content

Commit

Permalink
Add CJS build to @tomic/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Polleps committed Oct 3, 2024
1 parent b6ec2dc commit 4d5419f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/lib/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
lib: {
entry: path.resolve(__dirname, 'src/index.ts'),
fileName: 'index',
formats: ['es'],
formats: ['es', 'cjs'],
},
},
});

0 comments on commit 4d5419f

Please sign in to comment.