Skip to content

build: install html2canvas-pro#148

Open
obdulia-losantos wants to merge 1 commit into
ivmarcos:mainfrom
obdulia-losantos:build-html2canvas-pro
Open

build: install html2canvas-pro#148
obdulia-losantos wants to merge 1 commit into
ivmarcos:mainfrom
obdulia-losantos:build-html2canvas-pro

Conversation

@obdulia-losantos

Copy link
Copy Markdown

@DanielAeon

Copy link
Copy Markdown

When is this one going in? I think the color issue from Tailwind 4 is going to become and issue for more people soon.

@obdulia-losantos obdulia-losantos force-pushed the build-html2canvas-pro branch 2 times, most recently from 98d37b9 to 7800b98 Compare April 2, 2025 10:51

@ivmarcos ivmarcos left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I see that html2canvas has been stale for three years. I want to keep an eye on html2canvas-pro change before fully switching, but in the meantime, a quicker solution would be using resolve.alias to point to the new package.

Something like (adjust to your bundler Webpack/Vite/CRA as needed):

resolve: {
  alias: {
    'html2canvas': 'html2canvas-pro'
  }
}

@yunntan

yunntan commented Apr 9, 2025

Copy link
Copy Markdown

Thanks for the PR! I see that html2canvas has been stale for three years. I want to keep an eye on html2canvas-pro change before fully switching, but in the meantime, a quicker solution would be using resolve.alias to point to the new package.

Something like (adjust to your bundler Webpack/Vite/CRA as needed):

resolve: {
  alias: {
    'html2canvas': 'html2canvas-pro'
  }
}

Thanks, adding the config for NextJS / turboPack if that helps anyone:

experimental: {
    turbo: {
      resolveAlias: {
        html2canvas: 'html2canvas-pro',
      },
    },
  },

@adhamuzaf

Copy link
Copy Markdown

Thanks for the PR! I see that html2canvas has been stale for three years. I want to keep an eye on html2canvas-pro change before fully switching, but in the meantime, a quicker solution would be using resolve.alias to point to the new package.
Something like (adjust to your bundler Webpack/Vite/CRA as needed):

resolve: {
  alias: {
    'html2canvas': 'html2canvas-pro'
  }
}

Thanks, adding the config for NextJS / turboPack if that helps anyone:

experimental: {
    turbo: {
      resolveAlias: {
        html2canvas: 'html2canvas-pro',
      },
    },
  },

To migrate off the deprecated experimental.turbo option, you simply remove that block and add a top-level turbopack section with the exact same settings:

turbopack: { resolveAlias: { html2canvas: "html2canvas-pro", }, },

@b2rsp

b2rsp commented May 30, 2025

Copy link
Copy Markdown

Any idea when this is going to get marged? I have way more bugs with invoices due to lack of support of Tailwind V4.

@ivmarcos

ivmarcos commented Jun 3, 2025

Copy link
Copy Markdown
Owner

Any idea when this is going to get marged? I have way more bugs with invoices due to lack of support of Tailwind V4.

See #148 (review).

@hexxt-git

Copy link
Copy Markdown

a bump to this

@vucat12

vucat12 commented Aug 27, 2025

Copy link
Copy Markdown

can release this, please?

@obdulia-losantos obdulia-losantos force-pushed the build-html2canvas-pro branch from ad1340b to 4ea22f0 Compare May 17, 2026 09:04
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.

8 participants