mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
d3518242a6
* FIX deploy with-firebase-hosting * add npm run command in place of yarn in firebase.json predeploy hooks * Change yarn with npm * firebase-hosting example: Add warning in examples README * firebase-hosting example: clarify warning language * firebase-hosting example: remove the warning and upgrade to canary * firebase-hosting example: actually upgrade pkg.json
18 lines
352 B
JSON
18 lines
352 B
JSON
{
|
|
"hosting": {
|
|
"public": "dist/public",
|
|
"rewrites": [
|
|
{
|
|
"source": "**/**",
|
|
"function": "next"
|
|
}
|
|
],
|
|
"predeploy": "npm run build-public"
|
|
},
|
|
"functions": {
|
|
"source": "dist/functions",
|
|
"predeploy":
|
|
"npm run build-funcs && npm run build-app && npm run copy-deps && npm run install-deps"
|
|
}
|
|
}
|