mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
57be892d02
* with-firebase-hosting: update next.js 6, readme about customization * now next.js 6 is on Babel 7, remove conflicting babel deps * update Next Server/Cloud Function .babelrc config * update other deps: Cloud Functions to 1.x.x etc * rm install-deps script as it is no longer used on deployment (firebase does not upload node_modules) * make scripts consistent in their wrapping of dirs with \" (escaped double quotes) * with-firebase-hosting: pin next to "latest" version * with-firebase-hosting: fix lint errors
16 lines
321 B
JSON
16 lines
321 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"
|
|
}
|
|
} |