Nuxt/packages/vite/build.config.ts

16 lines
279 B
TypeScript
Raw Permalink Normal View History

import { defineBuildConfig } from 'unbuild'
2021-04-09 13:48:39 +00:00
export default defineBuildConfig({
declaration: true,
2021-04-09 13:48:39 +00:00
entries: [
'src/index',
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' }
2021-04-09 13:48:39 +00:00
],
dependencies: [
'vue'
],
externals: [
'@nuxt/schema'
2021-04-09 13:48:39 +00:00
]
})