Skip to content

Commit

Permalink
fix: disable cleanTargetDir for vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 15, 2020
1 parent fe5a33e commit 9d8a95b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/targets/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const vercel: SLSTarget = extendTarget(node, {
targetDir: '{{ rootDir }}/.vercel_build_output',
outName: 'functions/node/_nuxt/index.js',
publicDir: '{{ targetDir }}/static',
cleanTargetDir: false,
generateIgnore: [
'vercel.json'
],
Expand Down

0 comments on commit 9d8a95b

Please sign in to comment.