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

Rewrite build/setup and hopefully fix ESM compat #4511

Merged
merged 5 commits into from
Apr 3, 2023

Conversation

markerikson
Copy link
Contributor

This PR:

  • Switches the build setup from Babel+Rollup to https://github.com/egoist/tsup (an ESBuild wrapper)
  • Updates the package formatting to hopefully fix CJS/ESM compat issues
  • Moves the build/publish output to all be in ./dist/, and changes the file locations/names
  • Drops the UMD bundles from the output
  • Copies over the "test published artifact in these example projects" config from RTK and redux-thunk
  • Updates the GH Actions test workflow to ignore FalseCJS problems from arethetypeswrong

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 3, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 19257f5:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration

@markerikson markerikson merged commit aff00c9 into master Apr 3, 2023
43 checks passed
@markerikson markerikson deleted the feature/build-esm-fixes branch April 3, 2023 00:33
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