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,
|
2021-10-02 16:01:17 +00:00
|
|
|
emitCJS: false,
|
2021-04-09 13:48:39 +00:00
|
|
|
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',
|
2021-10-22 22:25:25 +00:00
|
|
|
'vue-server-renderer'
|
2021-11-21 16:14:46 +00:00
|
|
|
],
|
|
|
|
externals: [
|
|
|
|
'@nuxt/schema'
|
2021-04-09 13:48:39 +00:00
|
|
|
]
|
2021-04-21 15:10:53 +00:00
|
|
|
})
|