Build Adonisjs Inertia to production #4468
-
Hi Guys, how do you build adonisjs inertia project for production. i tried using node ace build but its giving me the following error. Failed to load url inertia/app/ssr.tsx (resolved id: inertia/app/ssr.tsx). Does the file exist? thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Please set NODE_ENV=production when running your application in production |
Beta Was this translation helpful? Give feedback.
-
I was able to solve this one on my own. after building your adonisjs project, you have to move the following files and folders into the build folder
|
Beta Was this translation helpful? Give feedback.
I was able to solve this one on my own. after building your adonisjs project, you have to move the following files and folders into the build folder