Skip to content

Conversation

@obdulia-losantos
Copy link

@DanielAeon
Copy link

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
Copy link
Owner

@ivmarcos ivmarcos left a comment

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
Copy link

yunntan commented Apr 9, 2025

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

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
Copy link

b2rsp commented May 30, 2025

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
Copy link
Owner

ivmarcos commented Jun 3, 2025

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

a bump to this

@vucat12
Copy link

vucat12 commented Aug 27, 2025

can release this, please?

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