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 77124d2 commit 8ecd1b5Copy full SHA for 8ecd1b5
src/features/rolldown.ts
@@ -356,7 +356,7 @@ export function CjsDtsReexportPlugin(): Plugin {
356
const dMtsBasename = path.basename(
357
chunk.fileName.replace(RE_JS, '.d.mts'),
358
)
359
- const content = `export * from './${dMtsBasename}'\n`
+ const content = `export type * from './${dMtsBasename}'\n`
360
361
this.emitFile({
362
type: 'prebuilt-chunk',
0 commit comments