mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
19 lines
405 B
TypeScript
19 lines
405 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts'],
|
|
format: ['esm', 'cjs'],
|
|
dts: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
treeshake: true,
|
|
minify: false,
|
|
target: 'es2022',
|
|
esbuildOptions(options) {
|
|
options.external = [
|
|
...options.external || [],
|
|
// External dependencies that should not be bundled
|
|
'openapi-fetch'
|
|
];
|
|
},
|
|
}); |