mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
16 lines
398 B
TypeScript
16 lines
398 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
entry: ['./lib/server.ts'],
|
|
// Wait for https://github.com/vercel/vercel/pull/14429
|
|
// Then we can set outDir to outputDirectory in vercel.json
|
|
outDir: 'src',
|
|
minify: true,
|
|
shims: true,
|
|
clean: true,
|
|
// copy: [{ from: 'lib/assets', to: 'dist' }],
|
|
deps: {
|
|
onlyBundle: false,
|
|
},
|
|
});
|