Replace builds with buildCommand in vercel.json (#2329)

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
This commit is contained in:
Noelia Ruiz Martínez 2022-12-31 17:56:03 +01:00 committed by GitHub
parent 750235cd8f
commit ff53fcab10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 18 deletions

View File

@ -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$',

View File

@ -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$",