print-help/build.config.ts
2024-03-11 14:15:30 +08:00

17 lines
372 B
TypeScript

import { defineBuildConfig } from 'unbuild'
import { join } from "node:path"
export default defineBuildConfig({
entries: ['src/index'],
clean: true,
declaration: true,
rollup: {
emitCJS: true,
inlineDependencies: true,
esbuild: {
minify: true,
},
},
alias: {
"@": join(__dirname, 'src')
},
})