(feat) Add process.env.NODE_ENV to handle different directives when deploying