now-sapper
Your Sapper project must be adapted to work with Zeit Now v2, see https://github.com/thgh/sapper-template/commit/220307c800525633063df3e3373bc76d0e62cd86
For Express, the instance must be exported in src/server.js
const app =
For Polka, the handler must be exported in src/server.js
const app = handler
Example now.json
Recommended .nowignore
:
__sapper__/dev
__sapper__/export
cypress
node_modules
src
Previous recommended .nowignore
*!static!static/!__sapper__!__sapper__/!__sapper__/build__sapper__/dev