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

how to use the build version of cesium #43

Open
codeOH opened this issue Jul 7, 2023 · 1 comment
Open

how to use the build version of cesium #43

codeOH opened this issue Jul 7, 2023 · 1 comment

Comments

@codeOH
Copy link

codeOH commented Jul 7, 2023

when I use files in 'cesium/build/Cesuim' or 'cesium/build/CesuimUnminified' to work with webpack, it reports errors like module not find. But it worked with files in 'cesium/Source', so I just want to know why and how to correctly import cesium files in production mode.
cesium_errors

@jjspace
Copy link
Contributor

jjspace commented Jan 3, 2024

I'm not sure I totally understand your issue. If you didn't figure this out already can you provide some more context?

At first guess it seems like you're importing things wrong? You should be importing classes and functions from the packages you installed and not directly from the node_modules files.

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

No branches or pull requests

2 participants