Skip to content

Commit

Permalink
fix: dynamic import for rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
albertolerda committed Jan 17, 2024
1 parent 9f7fd58 commit 8c3d53a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default {
input: 'src/index.ts',
output: {
file: 'dist/index.cjs',
format: 'cjs'
format: 'cjs',
inlineDynamicImports: true,
},
plugins: [
json(),
Expand Down

0 comments on commit 8c3d53a

Please sign in to comment.