Skip to content

fix(tsup): drop treeshaking flag, lint fixes#798

Merged
kanadgupta merged 6 commits intomainfrom
fix/tsup-main-export
Sep 22, 2023
Merged

fix(tsup): drop treeshaking flag, lint fixes#798
kanadgupta merged 6 commits intomainfrom
fix/tsup-main-export

Conversation

@kanadgupta
Copy link
Copy Markdown
Contributor

@kanadgupta kanadgupta commented Sep 22, 2023

🧰 Changes

This PR fixes up an issue where this library doesn't play nicely if you try to import it via CommonJS (I discovered that the treeshaking flag is problematic in readmeio/fetch-har#427)

And totally unrelated to the above: fixed up our CI scripts a bit since we were silently failing an ESLint check 😬

🧬 QA & Testing

If tests pass we should be in good shape!

@kanadgupta kanadgupta added the bug Something isn't working label Sep 22, 2023
@kanadgupta kanadgupta marked this pull request as ready for review September 22, 2023 19:25
@kanadgupta kanadgupta changed the title fix: get default export working in both ESM/CJS fix(tsup): drop treeshaking flag, lint fixes Sep 22, 2023
@kanadgupta kanadgupta merged commit 23b8578 into main Sep 22, 2023
@kanadgupta kanadgupta deleted the fix/tsup-main-export branch September 22, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants