print-help/build.config.ts

17 lines
372 B
TypeScript
Raw Normal View History

2024-03-11 14:15:30 +08:00
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')
},
})