18 lines
779 B
TypeScript
18 lines
779 B
TypeScript
import { defineConfig } from 'tsdown'
|
|
|
|
/** Build the runtime, invariant, and prepare executable as self-contained entries. */
|
|
export default defineConfig([
|
|
{
|
|
entry: ['lib/types/index.js'], outDir: 'lib', format: ['esm'], platform: 'node', target: 'es2024',
|
|
fixedExtension: false, outputOptions: { codeSplitting: false }, dts: false, clean: false,
|
|
},
|
|
{
|
|
entry: ['lib/types/invariant.js'], outDir: 'lib', format: ['esm'], platform: 'node', target: 'es2024',
|
|
fixedExtension: false, outputOptions: { codeSplitting: false }, dts: false, clean: false,
|
|
},
|
|
{
|
|
entry: ['lib/types/bin.js'], outDir: 'lib', format: ['esm'], platform: 'node', target: 'es2024',
|
|
fixedExtension: false, outputOptions: { codeSplitting: false }, dts: false, clean: false,
|
|
},
|
|
])
|