mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-16 10:54:49 +00:00
23397e603c
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
25 lines
551 B
TypeScript
25 lines
551 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
entries: [
|
|
'src/index',
|
|
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' },
|
|
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'cjs', declaration: false }
|
|
],
|
|
dependencies: [
|
|
'@cloudflare/kv-asset-handler',
|
|
'@netlify/functions',
|
|
'@nuxt/devalue',
|
|
'connect',
|
|
'destr',
|
|
'ohmyfetch',
|
|
'ora',
|
|
'vue-bundle-renderer',
|
|
'vue-server-renderer'
|
|
],
|
|
externals: [
|
|
'@nuxt/schema'
|
|
]
|
|
})
|