Closed timolins closed 1 year ago
In Remix, process is not defined which makes our isDevelopment() fail. However, process.env.NODE_ENV gets replaced during the build time. By accessing it directly we can get access to the value.
process
isDevelopment()
process.env.NODE_ENV
In Remix,
process
is not defined which makes ourisDevelopment()
fail. However,process.env.NODE_ENV
gets replaced during the build time. By accessing it directly we can get access to the value.