fix(vercel): add api prefix

This commit is contained in:
Pooya Parsa 2020-11-09 19:49:58 +01:00
parent ffceb25ca2
commit 1df092d08e

View File

@ -3,7 +3,7 @@ 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 }}/.vercel_build_output/functions/node/_nuxt', targetDir: '{{ rootDir }}/.vercel_build_output/functions/node/api/_nuxt',
outName: 'index.js', outName: 'index.js',
inlineChunks: false, inlineChunks: false,
generateIgnore: [ generateIgnore: [