Nuxt/packages/nitro/build.config.ts

25 lines
569 B
TypeScript
Raw Normal View History

import { defineBuildConfig } from 'unbuild'
2021-04-09 13:48:39 +00:00
export default defineBuildConfig({
2021-04-09 13:48:39 +00:00
declaration: true,
entries: [
'src/index',
'src/compat',
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' },
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'cjs', declaration: false }
2021-04-09 13:48:39 +00:00
],
dependencies: [
'@cloudflare/kv-asset-handler',
'@netlify/functions',
'@nuxt/devalue',
'connect',
'destr',
'ohmyfetch',
'ora',
'vue-bundle-renderer',
'vue-server-renderer',
'@vue/server-renderer',
'vue'
]
})