Nuxt/packages/vite/build.config.ts

16 lines
283 B
TypeScript

import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
entries: [
'src/index',
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' },
],
dependencies: [
'vue',
],
externals: [
'@nuxt/schema',
],
})