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

chore: move browser build from umd dir to dist #314

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

fvsch
Copy link
Contributor

@fvsch fvsch commented Jul 24, 2024

Fixes #284.

There were two issues reported in #284:

  1. The source map for the umd/browser.global.js bundle was generated but not published in the package: fixed in chore: use rollup instead of tsup for a cleaner dist #255.
  2. The umd/browser.global.js path conveys the wrong information, because this bundle uses a simpler IIFE format declaring a global _ variable, and not the UMD format.

This PR moves this bundle to dist/browser.global.js.

Because the Rollup config takes this path from package.json#publishConfig#browser, we only have to update it in package.json.

@fvsch fvsch requested a review from raon0211 as a code owner July 24, 2024 17:57
Copy link

vercel bot commented Jul 24, 2024

@fvsch is attempting to deploy a commit to the Toss Team on Vercel.

A member of the Team first needs to authorize it.

@raon0211
Copy link
Collaborator

Thanks a lot!

@raon0211 raon0211 merged commit 6e3fff0 into toss:main Jul 25, 2024
5 of 7 checks passed
@fvsch fvsch deleted the rename-iife-bundle branch July 25, 2024 08:07
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.

Publishing issues with the browser.global.js build
2 participants