We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 612cb71 commit 96dfbabCopy full SHA for 96dfbab
1 file changed
configs/tsdown/js-library.ts
@@ -75,19 +75,7 @@ export default function createJsLibraryTsupConfig(_options: { barrelFiles?: stri
75
external: true,
76
};
77
},
78
- },
79
- {
80
- name: 'stackframe: write esm package.json',
81
- generateBundle(options) {
82
- if (options.dir?.endsWith('/esm') || options.dir === 'dist/esm') {
83
- this.emitFile({
84
- type: 'asset',
85
- fileName: 'package.json',
86
- source: JSON.stringify({ type: 'module' }) + '\n',
87
- });
88
- }
89
90
+ }
91
],
92
});
93
}
0 commit comments