diff --git a/bin/build-vercel-json.js b/bin/build-vercel-json.js index d7ecbcae..24874a23 100644 --- a/bin/build-vercel-json.js +++ b/bin/build-vercel-json.js @@ -21,15 +21,8 @@ const JSON_TEMPLATE = { github: { silent: true }, - builds: [ - { - src: 'package.json', - use: '@now/static-build', - config: { - distDir: '__sapper__/export' - } - } - ], + buildCommand: 'yarn build', + outputDirectory: '__sapper__/export', routes: [ { src: '^/service-worker\\.js$', diff --git a/vercel.json b/vercel.json index 29a0f713..9d05812d 100644 --- a/vercel.json +++ b/vercel.json @@ -6,15 +6,8 @@ "github": { "silent": true }, - "builds": [ - { - "src": "package.json", - "use": "@now/static-build", - "config": { - "distDir": "__sapper__/export" - } - } - ], + "buildCommand": "yarn build", + "outputDirectory": "__sapper__/export", "routes": [ { "src": "^/service-worker\\.js$",