CesiumGS / CesiumGS/cesium-webpack-example

how to use the build version of cesium

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
270
Forks
164
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/CesiumGS/cesium-webpack-example/assets/37500066/29f8c6a3-06d4-4f75-9126-b23ac74c5a26)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the module-not-found errors with files from cesium/build/Cesuim and cesium/build/CesuimUnminified, then compare their imports with the working cesium/Source setup. Verify the correct production-mode import path by running the webpack example and confirm that the build version bundles without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.