Skip to content

Commit

Permalink
chore: dynamically specify the exportConditions in the Rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Dec 11, 2024
1 parent b1a7cb6 commit 0a6b483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.vanilla-library.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default {

resolve({
browser: true,
exportConditions: ['svelte', 'module', 'production', 'browser']
exportConditions: ['svelte', production ? 'production' : 'development']
}),
commonjs(),
json(),
Expand Down

0 comments on commit 0a6b483

Please sign in to comment.