fix(vercel): remove index.js from serverDir

This commit is contained in:
Pooya Parsa 2020-11-20 13:04:16 +01:00
parent 1524377708
commit 15fff5117f

View File

@ -6,7 +6,7 @@ import { node } from './node'
export const vercel: SigmaPreset = extendPreset(node, {
output: {
dir: '{{ _nuxt.rootDir }}/.vercel_build_output',
serverDir: '{{ output.dir }}/functions/node/server/index.js',
serverDir: '{{ output.dir }}/functions/node/server',
publicDir: '{{ output.dir }}/static'
},
ignore: [