mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix(vercel): entry should export handle as default
This commit is contained in:
parent
cb98031cff
commit
d3d3c0a2ea
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user