mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
25 lines
441 B
TypeScript
25 lines
441 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
dts: true,
|
|
fixedExtension: false,
|
|
target: 'es2023',
|
|
entry: [
|
|
'./src/{index,client}.ts',
|
|
'./src/bin.ts',
|
|
'./src/js/*',
|
|
'./src/dev/{node-server,node-client,react-client}.ts',
|
|
],
|
|
format: 'esm',
|
|
exports: {
|
|
bin: {
|
|
'local-md': './src/bin.ts',
|
|
},
|
|
exclude: ['bin'],
|
|
},
|
|
deps: {
|
|
onlyBundle: [],
|
|
neverBundle: [],
|
|
},
|
|
});
|