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

Bundle .map files during build #2591

Merged
merged 2 commits into from
Jul 30, 2021
Merged

Bundle .map files during build #2591

merged 2 commits into from
Jul 30, 2021

Conversation

philippjfr
Copy link
Member

Various debuggers and browser consoles look for sourcemap files which were previously not bundled. This raised errors in the JS console which would be distracting and cause users to think there was something wrong. During the bundling step we now simply try to make a request to the CDN to check if there's a .map file that we should bundle alongside the CSS and JS files.

@codecov
Copy link

codecov bot commented Jul 30, 2021

Codecov Report

Merging #2591 (35e04ea) into master (396d814) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2591      +/-   ##
==========================================
- Coverage   83.18%   83.14%   -0.05%     
==========================================
  Files         184      184              
  Lines       23254    23263       +9     
==========================================
- Hits        19343    19341       -2     
- Misses       3911     3922      +11     
Impacted Files Coverage Δ
panel/compiler.py 6.66% <0.00%> (-0.34%) ⬇️
panel/io/reload.py 66.29% <0.00%> (-2.25%) ⬇️
panel/pane/idom.py 27.40% <0.00%> (+0.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 396d814...35e04ea. Read the comment docs.

@philippjfr philippjfr merged commit a5c367f into master Jul 30, 2021
@philippjfr philippjfr deleted the bundle_map_files branch July 30, 2021 16:05
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.

None yet

1 participant