We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e443fd0 commit a37de45Copy full SHA for a37de45
1 file changed
tsup.config.ts
@@ -39,14 +39,15 @@ export default defineConfig(async () => {
39
/*
40
manager entries are entries meant to be loaded into the manager UI
41
they'll have manager-specific packages externalized and they won't be usable in node
42
- 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
43
*/
44
if (managerEntries.length) {
45
configs.push({
46
...commonConfig,
47
entry: managerEntries,
48
platform: 'browser',
49
target: 'esnext', // we can use esnext for manager entries since Storybook will bundle the addon's manager entries again anyway
50
+ dts: true,
51
});
52
}
53
0 commit comments