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

🚀 RELEASE: v1.2.11 , fix #12

This commit is contained in:
nshen
2021-11-27 16:20:22 +08:00
parent 93e4f0f87f
commit 287538026f
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "vite-plugin-cesium",
"version": "1.2.10",
"version": "1.2.11",
"description": "Cesium library plugin for Vite",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -36,6 +36,7 @@ function vitePluginCesium(
if (c.base) {
base = c.base;
}
if (base === '') base = './';
if (isBuild) CESIUM_BASE_URL = path.join(base, CESIUM_BASE_URL);
const userConfig: UserConfig = {
build: {