2021-04-21 15:10:53 +00:00
|
|
|
import { defineBuildConfig } from 'unbuild'
|
2021-04-09 13:48:39 +00:00
|
|
|
|
2021-04-21 15:10:53 +00:00
|
|
|
export default defineBuildConfig({
|
2021-04-09 13:48:39 +00:00
|
|
|
declaration: true,
|
|
|
|
entries: [
|
|
|
|
'src/index',
|
2021-04-21 15:10:53 +00:00
|
|
|
{ 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'
|
|
|
|
]
|
2021-04-21 15:10:53 +00:00
|
|
|
})
|