// home.js

"use strict";

import { welcome } from "./welcome";

if (NODE_ENV == "development") {
  welcome("home");
}

export { welcome };

// home.js

"use strict";

import { welcome } from "./welcome";

if (NODE_ENV == DEV_ENV) {
  welcome("home");
  console.log(NODE_ENV);
}

export { welcome };

Use DEV_ENV. Add console.log for testing UglifyJS
Use DEV_ENV. Add console.log for testing UglifyJS
