Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ export default defineConfig(async () => {
/*
manager entries are entries meant to be loaded into the manager UI
they'll have manager-specific packages externalized and they won't be usable in node
they won't have types generated for them as they're usually loaded automatically by Storybook
the manager entry point doesn't need types generated, but manager helpers do as they are imported by end users
*/
if (managerEntries.length) {
configs.push({
...commonConfig,
entry: managerEntries,
platform: 'browser',
target: 'esnext', // we can use esnext for manager entries since Storybook will bundle the addon's manager entries again anyway
dts: true,
});
}

Expand Down
Loading