Skip to content

Commit

Permalink
fix: apply default origin to plugins provided by plugin detection (#6781
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pieh authored Aug 19, 2024
1 parent 7751edc commit 4a3eb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/build-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const getDefaultConfig = (settings?: Settings): $TSFixMe | undefined => {
config.build.publishOrigin = 'default'
}

config.plugins = settings.plugins_recommended?.map((plugin) => ({ package: plugin })) || []
config.plugins = settings.plugins_recommended?.map((plugin) => ({ package: plugin, origin: 'default' })) || []

return config
}

1 comment on commit 4a3eb18

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,222
  • Package size: 313 MB
  • Number of ts-expect-error directives: 977

Please sign in to comment.