8000 Fix ESM component module resolution by philippjfr · Pull Request #7684 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@philippjfr
Copy link
Member

Previously we used the Model.name to determine the name of the JS module inside a bundle. However the name seemingly is sometimes overwritten making this approach brittle. Instead we now use the class_name property, which was previously kebab case but is now passed through directly and only transformed into kebab case client-side.

@codecov
Copy link
codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.77%. Comparing base (935acd4) to head (56d694e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7684      +/-   ##
==========================================
+ Coverage   86.76%   86.77%   +0.01%     
==========================================
  Files         346      346              
  Lines       52444    52444              
==========================================
+ Hits        45501    45509       +8     
+ Misses       6943     6935       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@philippjfr philippjfr merged commit 101d6d2 into main Feb 3, 2025
15 of 17 checks passed
@philippjfr philippjfr deleted the esm_module_resolution_fix branch February 3, 2025 17:43
philippjfr added a commit that referenced this pull request Feb 12, 2025
* Fix ESM component module resolution

* Fix eslint errors
@github-actions
Copy link
github-actions bot commented Sep 9, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0