Skip NODE_ENV=production npm run build

Hi everyone,
I’m deploying Strapi to an EC2 Ubuntu instance and I have a question about the build process. Is it necessary to run NODE_ENV=production npm run build if I don’t need to use the Strapi admin panel in my production environment?

This topic has been created from a Discord post (1260796125523218542) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Hi :wave: Yes, as long as you are not using typescript you should be able to skip that step. You can check this documentation on how to deploy a server without the admin part: Admin panel customization | Strapi Documentation

Hi! Thank you for your reply! It seems I can skip the step. However, is it necessary to run this step if my project is in TypeScript?