mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
4f4b7a1bce
* remove `predeploy` scripts from `firebase.json` in favour of `npm` `pre` scripts as they are consistent across `deploy` and `serve` commands. (to revisit once Firebase add support in the `firebase.json` for `preserve`) * update deps * workaround some bug where Babel could not resolve the standard `next/babel` config. Explicitly defining this seems to remove the issue. * closes #4562
15 lines
199 B
JSON
15 lines
199 B
JSON
{
|
|
"hosting": {
|
|
"public": "dist/public",
|
|
"rewrites": [
|
|
{
|
|
"source": "**/**",
|
|
"function": "next"
|
|
}
|
|
]
|
|
},
|
|
"functions": {
|
|
"source": "dist/functions"
|
|
}
|
|
}
|