[READ-ONLY] Mirror of https://github.com/danielroe/siroc. Zero-config build tooling for Node
bundle node package rollup typescript
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(core): generate es exports dts files correctly (#212)

Co-authored-by: lihbr <lihbr@users.noreply.github.com>

authored by

Lucie
lihbr
and committed by
GitHub
(Jun 15, 2021, 7:04 PM +0100) b0f29c61 3a7479df

+1 -1
+1 -1
src/core/build/rollup.ts
··· 218 218 defu({}, options as RollupOptions, { 219 219 input: pkg.resolveEntrypoint(outfile), 220 220 output: { 221 - file: resolvePath(outfile.replace(/\.js$/, '.d.ts')), 221 + file: resolvePath(outfile.replace(/(\.es)?\.js$/, '.d.ts')), 222 222 format: 'es', 223 223 exports: 'auto', 224 224 } as OutputOptions,