Skip to content

Conversation

elsassph
Copy link
Contributor

Fix npm package is inconsistent between ESM and ES5:

  • dist/lightning.* was bundling src/lightning.mjs instead of src/index.ts, which means it was missing some of the exports. This change increases the min.js file by about 2Kb.
  • require devtools was not pointing to the ES5 version which is produced using Vite.

Copy link
Contributor

@michielvandergeest michielvandergeest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michielvandergeest michielvandergeest merged commit 9a9d7e3 into rdkcentral:feature/rtl Apr 28, 2025
1 check passed
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.

2 participants