Skip to content

TS module interop #1747

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

Merged
merged 1 commit into from
Sep 7, 2023
Merged

TS module interop #1747

merged 1 commit into from
Sep 7, 2023

Conversation

ahuth
Copy link
Contributor

@ahuth ahuth commented Sep 7, 2023

Summary:

This PR attempts (still needs to be verified) to fix a weird issue in Along with EDS's dependency with Graphemer (same thing #1745 is fixing).

Here we tell Rollup to explicitly add an es module compatibility layer to the CJS build, just like TS does.

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:
    • Create an alpha publish and try out in edu-stack or traject as a sanity check if changes affect build or deploy, or are breaking, such as token changes, widely used component updates, hooks changes, and major dependency upgrades.

@ahuth ahuth requested a review from a team September 7, 2023 16:12
@ahuth ahuth changed the base branch from main to next September 7, 2023 16:12
@github-actions
Copy link

github-actions bot commented Sep 7, 2023

size-limit report 📦

Path Size
components 95.29 KB (0%)
styles 32.77 KB (+0.28% 🔺)

@ahuth ahuth merged commit 2b0855e into next Sep 7, 2023
@ahuth ahuth deleted the ah-interop branch September 7, 2023 18:12
@booc0mtaco booc0mtaco mentioned this pull request Sep 7, 2023
booc0mtaco added a commit that referenced this pull request Sep 7, 2023
## [13.2.0](v13.1.1...v13.2.0) (2023-09-07)


### Features

* **Avatar:** add in expanded size range ([#1734](#1734)) ([7af6e5e](7af6e5e))
* **tokens:** add tooling for EDS theming ([#1738](#1738)) ([91497bf](91497bf))


### Bug Fixes

* opt our rollup CJS build into TS's module interop behavior ([#1747](#1747)) ([2b0855e](2b0855e))
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