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

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
test-master
Noelia Ruiz Martínez 2022-12-31 17:56:03 +01:00 zatwierdzone przez GitHub
rodzic 750235cd8f
commit ff53fcab10
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 4 dodań i 18 usunięć

Wyświetl plik

@ -21,15 +21,8 @@ const JSON_TEMPLATE = {
github: { github: {
silent: true silent: true
}, },
builds: [ buildCommand: 'yarn build',
{ outputDirectory: '__sapper__/export',
src: 'package.json',
use: '@now/static-build',
config: {
distDir: '__sapper__/export'
}
}
],
routes: [ routes: [
{ {
src: '^/service-worker\\.js$', src: '^/service-worker\\.js$',

Wyświetl plik

@ -6,15 +6,8 @@
"github": { "github": {
"silent": true "silent": true
}, },
"builds": [ "buildCommand": "yarn build",
{ "outputDirectory": "__sapper__/export",
"src": "package.json",
"use": "@now/static-build",
"config": {
"distDir": "__sapper__/export"
}
}
],
"routes": [ "routes": [
{ {
"src": "^/service-worker\\.js$", "src": "^/service-worker\\.js$",