update vercel target

This commit is contained in:
Pooya Parsa 2020-11-09 19:47:38 +01:00
parent 55f25aa884
commit ffceb25ca2

View File

@ -3,7 +3,9 @@ import { SLSTarget } from '../config'
import { node } from './node' import { node } from './node'
export const vercel: SLSTarget = extendTarget(node, { export const vercel: SLSTarget = extendTarget(node, {
targetDir: '{{ rootDir }}/api', targetDir: '{{ rootDir }}/.vercel_build_output/functions/node/_nuxt',
outName: 'index.js',
inlineChunks: false,
generateIgnore: [ generateIgnore: [
'vercel.json' 'vercel.json'
] ]