const ROUTER_MODE = process.env.ROUTER_MODE || 'hash';
const ROOT_URL = process.env.ROUTER_MODE == 'hash' ? '#' : '';
module.exports = {
  ROUTER_MODE: JSON.stringify(ROUTER_MODE),
  ROOT_URL: JSON.stringify(ROOT_URL),
  BUILD_TYPE: JSON.stringify(process.env.BUILD_TYPE || 'web')
};

@@ -1,220 +1,86 @@
-const ROUTER_MODE = process.env.ROUTER_MODE %7C%7C 'hash';%0Aconst ROOT_URL = process.env.ROUTER_MODE == 'hash' ? '#' : '';%0Amodule.exports = %7B%0A  ROUTER_MODE: JSON.stringify(ROUTER_MODE),%0A  ROOT_URL: JSON.stringify(ROOT_URL
+module.exports = %7B%0A  ROUTER_MODE: JSON.stringify(process.env.ROUTER_MODE %7C%7C 'hash'
 ),%0A 

remove unused var