refactor(dev): 将 $__DEV__ 重命名为 __DEV__

This commit is contained in:
严浩
2025-08-14 14:31:19 +08:00
parent 231249b357
commit 1d4f3b601a
12 changed files with 14 additions and 14 deletions

View File

@@ -83,7 +83,7 @@ export default defineConfig(({ command, mode }) => {
sourcemap: mode !== 'production' || env.VITE_SOURCE_MAP === 'true',
},
define: {
$__DEV__: JSON.stringify(!isBuild),
__DEV__: JSON.stringify(!isBuild),
CESIUM_BASE_URL: JSON.stringify(`/${cesiumBaseUrl}`),
},
plugins: Plugins(),