Nuxt/packages/vite/build.config.ts
Anthony Fu ac40c9746c
feat(vite): experimental vite-node support (#2795)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:41:27 +01:00

16 lines
279 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'
]
})