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

fix(commonjs): support CJS modules re-exporting transpiled ESM modules #1165

Merged
merged 34 commits into from Apr 24, 2022

Commits on Apr 3, 2022

  1. Copy the full SHA
    f829b36 View commit details
    Browse the repository at this point in the history
  2. feat(commonjs): reimplement dynamic import handling

    BREAKING CHANGES: requires Node 12
    No longer supports require.cache
    lukastaegert committed Apr 3, 2022
    Copy the full SHA
    1393c7c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    35770bd View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    81628db View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    93cf5fb View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    8d31f25 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    fb490c0 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    e672b42 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    748f8ba View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    c399755 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    4a84215 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    7e2691a View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    a16a3cd View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    46776c6 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    373684d View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    b7e0d7e View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    45a3141 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    12dbaa3 View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    0fb0303 View commit details
    Browse the repository at this point in the history
  20. fix(commonjs): make sure type changes of esm imports are tracked

    BREAKING CHANGES: Requires at least rollup@2.68.0
    lukastaegert committed Apr 3, 2022
    Copy the full SHA
    ebc1cb1 View commit details
    Browse the repository at this point in the history
  21. Copy the full SHA
    b61845f View commit details
    Browse the repository at this point in the history
  22. Copy the full SHA
    b1110d2 View commit details
    Browse the repository at this point in the history
  23. Copy the full SHA
    f509b1a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Add a test to illustrate problematic re-exported module

    This is exhibited for example in Next.js, see https://github.com/vercel/next.js/blob/5feb400aff8e7b8968174b4e339b98ce48412180/packages/next/link.js#L1 which doesn't specify __esModule but re-exports a module that does.
    
    See https://www.runpkg.com/?next@12.1.4/link.js and https://www.runpkg.com/?next@12.1.4/dist/client/link.js for the compiled example.
    fwouts committed Apr 8, 2022
    Copy the full SHA
    347c148 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2022

  1. Copy the full SHA
    2749ea9 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

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

Commits on Apr 19, 2022

  1. Copy the full SHA
    095491b View commit details
    Browse the repository at this point in the history
  2. Update snapshots post-merge

    fwouts committed Apr 19, 2022
    Copy the full SHA
    e3b4b0c View commit details
    Browse the repository at this point in the history
  3. Update tests

    fwouts committed Apr 19, 2022
    Copy the full SHA
    c77baef View commit details
    Browse the repository at this point in the history
  4. Update snapshot

    fwouts committed Apr 19, 2022
    Copy the full SHA
    4863298 View commit details
    Browse the repository at this point in the history
  5. Remove unnecessary fixtures

    fwouts committed Apr 19, 2022
    Copy the full SHA
    159336a View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    981918d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2022

  1. Update snapshots

    lukastaegert committed Apr 24, 2022
    Copy the full SHA
    205b187 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    224f904 View commit details
    Browse the repository at this point in the history