在 Vercel 上将 post-build 脚本添加到 next.js?

Add post-build script to next.js on Vercel?

这有某种支持吗?我想执行任意代码来 post-在 next.js 完成它的事情之后处理构建的 HTML/css/etc。

您可以在 Vercel 中使用自定义构建命令,它同时执行构建和后期构建:yarn run build && yarn run your-postbuild-script

Documentation here.