Skip to content

Commit

Permalink
chore: use browser platform
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 11, 2024
1 parent 1f7878e commit d1c7d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rolldown.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function createConfig(format, output, plugins = []) {
platform:
format === 'cjs' || packageOptions.enableNonBrowserBranches
? 'node'
: 'neutral',
: 'browser',
resolve: {
alias: entries,
},
Expand Down

0 comments on commit d1c7d31

Please sign in to comment.