1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Merge pull request #4 from LunaGod/fix#3

fix: /cesium/ Invalid define value
This commit is contained in:
Nshen
2021-04-23 17:22:15 +08:00
committed by GitHub

View File

@@ -36,7 +36,7 @@ function vitePluginCesium(
chunkSizeWarningLimit: 4000 chunkSizeWarningLimit: 4000
}, },
define: { define: {
CESIUM_BASE_URL CESIUM_BASE_URL: JSON.stringify(CESIUM_BASE_URL)
} }
}; };
if (command === 'build' && !rebuildCesium) { if (command === 'build' && !rebuildCesium) {