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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: compatibility with modern web bundlers and browsers #1891

Merged
merged 29 commits into from
Jul 11, 2022

Commits on Jul 11, 2022

  1. Browser compatibility for renderer package

    We have to include the blob-stream package in the browser bundle because
    it is an old commonjs module which is no longer trivially supported by
    modern web bundlers.
    carlobeltrame authored and diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    11018ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50af00b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf5816b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c0a414d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c364fb7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    941a4be View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    64b9a0b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    955bac4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a9e8bb1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    73cabe3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    81d1ec3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    df8827f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b036178 View commit details
    Browse the repository at this point in the history
  14. Polyfill zlib in the browser

    carlobeltrame authored and diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    9115d13 View commit details
    Browse the repository at this point in the history
  15. Polyfill Buffer in our own code

    These instances will only appear when including an image in the pdf
    carlobeltrame authored and diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    f6e3d7e View commit details
    Browse the repository at this point in the history
  16. Polyfill Buffer in our own code

    This instance will only appear when including a font in the pdf
    carlobeltrame authored and diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    527ef2c View commit details
    Browse the repository at this point in the history
  17. Webpack apparently prefers relative paths in the browser field

    This is an attempt to fix the size-limit CI
    carlobeltrame authored and diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    9389d1b View commit details
    Browse the repository at this point in the history
  18. Increase size limit

    This is necessary because we had to add some browser-compatible
    alternatives for node-only dependencies and builtins.
    See diegomura#1891 for more details.
    carlobeltrame authored and diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    a6a4ab4 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f2a04e1 View commit details
    Browse the repository at this point in the history
  20. fix: fns rollup config

    diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    c42ab13 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    96f45b5 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8974f19 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7174c9a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f4e1ed5 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f8f0b98 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    238b666 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    603be3d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    50dbbcf View commit details
    Browse the repository at this point in the history
  29. chore: add changeset

    diegomura committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    7f866a9 View commit details
    Browse the repository at this point in the history