Oh now I see…
webpack.common.js:
isEnvProduction && {
test: path.join(
redwoodPaths.base,
'node_modules/@redwoodjs/router/dist/splash-page'
),
use: 'null-loader',
},
This means if you haven’t added any routes yet and are just trying to deploy the default splash page, you’ll get my error.
Makes perfect sense now, but personally I would have preferred it if it had just deployed exactly what was shown in dev.