acdr-ui/dist/dev/mp-weixin/sheep/config/index.js.map

1 line
1.0 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"index.js","sources":["../../../../../src/sheep/config/index.js"],"sourcesContent":["// 开发环境配置\r\nexport let baseUrl\r\nexport let version\r\nif (process.env.NODE_ENV === 'development') {\r\n baseUrl = import.meta.env.SHOPRO_DEV_BASE_URL\r\n} else {\r\n baseUrl = import.meta.env.SHOPRO_BASE_URL\r\n}\r\nversion = import.meta.env.SHOPRO_VERSION\r\nconsole.log(`[芋道商城 ${version} ${baseUrl}] http://doc.iocoder.cn`)\r\n\r\nexport const apiPath = import.meta.env.SHOPRO_API_PATH\r\nexport const staticUrl = import.meta.env.SHOPRO_STATIC_URL\r\nexport const tenantId = import.meta.env.SHOPRO_TENANT_ID\r\nexport const websocketPath = import.meta.env.SHOPRO_WEBSOCKET_PATH\r\n\r\nexport default {\r\n baseUrl,\r\n apiPath,\r\n staticUrl,\r\n tenantId,\r\n websocketPath,\r\n}\r\n"],"names":["baseUrl"],"mappings":";AACWA,QAAA,UAAA;AACA,IAAA;AACiC;AAChCA,UAAAA,UAAA;AACZ;AAGA,UAAU;AACV,QAAQ,IAAI,SAAS,OAAO,IAAIA,QAAO,OAAA,0BAA0B;AAE1D,MAAM,UAAU;AAChB,MAAM,YAAY;AAClB,MAAM,WAAW;AACjB,MAAM,gBAAgB;;;;;"}