fix(vercel): entry should export handle as default

This commit is contained in:
Pooya Parsa 2020-11-20 13:49:21 +01:00
parent cb98031cff
commit d3d3c0a2ea

View File

@ -4,6 +4,7 @@ import { SigmaPreset, SigmaContext } from '../context'
import { node } from './node' import { node } from './node'
export const vercel: SigmaPreset = extendPreset(node, { export const vercel: SigmaPreset = extendPreset(node, {
entry: '{{ _internal.runtimeDir }}/entries/vercel',
output: { output: {
dir: '{{ _nuxt.rootDir }}/.vercel_build_output', dir: '{{ _nuxt.rootDir }}/.vercel_build_output',
serverDir: '{{ output.dir }}/functions/node/server', serverDir: '{{ output.dir }}/functions/node/server',