Skip to content

Commit

Permalink
chore: update Rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-kanri committed Jul 20, 2024
1 parent adf7182 commit 195f323
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const generateOutputOptions = (format: 'cjs' | 'esm'): OutputOptions => ({
constBindings: true,
objectShorthand: true
},
interop: 'compat'
interop: 'compat',
preserveModules: true,
preserveModulesRoot: './src'
});

export default defineConfig({
Expand Down

0 comments on commit 195f323

Please sign in to comment.