Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nextjs check production or development environment

process.env.NODE_ENV === "development";
process.env.NODE_ENV === "production";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nextjs #check #production #development #environment
ADD COMMENT
Topic
Name
6+9 =