Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CESIUM_BASE_URL problem #19

Merged
merged 1 commit into from
Jan 13, 2022
Merged

fix: CESIUM_BASE_URL problem #19

merged 1 commit into from
Jan 13, 2022

Conversation

loosheng
Copy link
Contributor

根据 vite 文档 define

定义全局常量替换方式。其中每项在开发环境下会被定义在全局,而在构建时被静态替换

此次更改后,构建后保留全局变量 CESIUM_BASE_URL

此次更改将修复 #17

@nshen
Copy link
Owner

nshen commented Jan 13, 2022

You are awesome.

@nshen nshen merged commit 28825f8 into nshen:main Jan 13, 2022
@1sm23
Copy link

1sm23 commented Jan 13, 2022

You are awesome.

发个 release 。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants