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

Improve treeshakeability of build artifacts #2176

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Commits on Oct 1, 2024

  1. Fix tsup config

    aryaemami59 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    1bcb0ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f7f86f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e641ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b555b05 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6920ed9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f502ade View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    25be3ef View commit details
    Browse the repository at this point in the history
  8. Replace define with env as it is the same thing.

    - `env` is the same thing as `define` with `JSON.stringify`.
    aryaemami59 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    9411bca View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3203f89 View commit details
    Browse the repository at this point in the history
  10. Emit type definitions with cjs format

    - Currently there is no difference between emitting type definitions with `cjs` or `esm` format, the only difference is the file extension. So we emit the type definitions with a `cjs` format to preserve the previous `.d.ts` extension as opposed to the new `.d.mts` extension.
    aryaemami59 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    8c96bc7 View commit details
    Browse the repository at this point in the history
  11. Fix React namespace import

    - The conditional import of the `React` namespace seems to create a lot of side effects, so for now we'll de-duplicate the `React` namespace imports by funneling them through `src/utils/react.ts`.
    aryaemami59 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    623b61a View commit details
    Browse the repository at this point in the history
  12. Add src to files

    - This was mainly done to stay consistent with other Redux repos.
    aryaemami59 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    dafd851 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5d27710 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5811a7e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ce693ff View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1066708 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    32c5712 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    bb4fcf1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    cf95d2e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    aefb3eb View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f279e1a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8fc8ead View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a5116cc View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a57b879 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    f79adbf View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    f25cfba View commit details
    Browse the repository at this point in the history