astro-uploader/build.config.ts

17 lines
239 B
TypeScript
Raw Normal View History

2024-06-28 03:00:39 +08:00
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
entries: [
'src/index',
],
clean: true,
declaration: true,
rollup: {
emitCJS: true,
},
externals: [
'astro',
'astro/zod'
],
})