mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
26 lines
549 B
TypeScript
26 lines
549 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
entry: [
|
|
'./src/{index,bin}.ts',
|
|
'./src/{config,next,vite,bun,rolldown,macro}/index.ts',
|
|
'./src/webpack/{mdx,meta,macro}.ts',
|
|
'./src/node/{index,_loader,loader}.ts',
|
|
'./src/runtime/*.{ts,tsx}',
|
|
'./src/plugins/*.ts',
|
|
],
|
|
format: 'esm',
|
|
dts: {
|
|
sourcemap: false,
|
|
},
|
|
target: 'es2023',
|
|
platform: 'neutral',
|
|
exports: {
|
|
bin: false,
|
|
},
|
|
deps: {
|
|
onlyBundle: ['@fumadocs/vite'],
|
|
neverBundle: ['webpack', 'bun', /^node:/],
|
|
},
|
|
});
|