mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(vercel): add api prefix
This commit is contained in:
parent
ffceb25ca2
commit
1df092d08e
@ -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: [
|
||||||
|
Loading…
Reference in New Issue
Block a user