kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
21 wiersze
393 B
TypeScript
21 wiersze
393 B
TypeScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig([
|
|
{
|
|
entry: ['src/index.ts'],
|
|
outDir: 'build',
|
|
target: 'node16',
|
|
platform: 'node',
|
|
format: ['esm', 'cjs'],
|
|
splitting: false,
|
|
sourcemap: true,
|
|
minify: false,
|
|
shims: true,
|
|
dts: true,
|
|
esbuildOptions(options) {
|
|
options.target = 'es2020'
|
|
options.jsx = 'preserve'
|
|
}
|
|
}
|
|
])
|