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

Sourcemap of Cesium.js (iife) points to missing source files #11993

Closed
s3xysteak opened this issue May 17, 2024 · 2 comments
Closed

Sourcemap of Cesium.js (iife) points to missing source files #11993

s3xysteak opened this issue May 17, 2024 · 2 comments
Labels
needs feedback On hold until additional info is supplied needs triage type - bug

Comments

@s3xysteak
Copy link
Contributor

What happened?

When I use the CesiumUnminified/Cesium.js, the app works well but server logged a warn :

Sourcemap for "foo/bar.js" points to missing source files

I do not provide a sandcastle example because it is a issue about bundler. Here is a reproduction with vite:
https://github.com/s3xysteak/vite-reproduction-sourcemap-miss

And refer to a vite issue:
vitejs/vite#16695

Reproduction steps

  1. pnpm i
  2. pnpm dev
  3. Click the link to make it run in brower.
    Then you will find the warning throwed by vite server.

Sandcastle example

none

Environment

System:
OS: Windows 11 10.0.22631
CPU: (20) x64 13th Gen Intel(R) Core(TM) i5-13500HX
Memory: 5.33 GB / 15.73 GB
Binaries:
Node: 20.11.1 - ~\AppData\Local\fnm_multishells\2724_1715876072969\node.EXE
npm: 10.2.4 - ~\AppData\Local\fnm_multishells\2724_1715876072969\npm.CMD
pnpm: 9.1.1 - ~\AppData\Local\pnpm\pnpm.CMD
Browsers:
Edge: Chromium (123.0.2420.97)
Internet Explorer: 11.0.22621.3527

CesiumJS Version: v1.117.0

@ggetz
Copy link
Contributor

ggetz commented May 24, 2024

@syzdev The missing missing all appear to be those referenced by autolinker, a third-party dependency. Anyway to exclude this module from the vite config?

@ggetz ggetz added the needs feedback On hold until additional info is supplied label May 24, 2024
@ggetz
Copy link
Contributor

ggetz commented May 31, 2024

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

@ggetz ggetz closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs feedback On hold until additional info is supplied needs triage type - bug
Projects
None yet
Development

No branches or pull requests

2 participants