You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do some custom server load with babel,
so before goto production it need to be compiled to standard javascript in another build folder and it should include .next folder.
I wonder if this option may helpful ?
This is how I manage it now
#build.sh
#!/usr/bin/env bash
npm run clean
# next build ./src
npm run build
cp -r ./src/.next ./build/.next
npm run build-server