jsPDF-AutoTable icon indicating copy to clipboard operation
jsPDF-AutoTable copied to clipboard

Official ECMAScript version

Open cloakedch opened this issue 4 years ago • 4 comments

Is there an official ECMAScript version planned for this jsPDF plugin? The reason behind my question is that the current version of angular (v10) requires ECMAScript modules to reduce bundle sizes. Using jsPDF-AutoTable in an angular 10 application now throws this warning:

WARNING in test.ts depends on 'jspdf-autotable'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

As stated in the link, there is a way to get rid of this warning, but it's of course only a temporary solution.

cloakedch avatar Aug 14 '20 09:08 cloakedch

Sounds like a good idea. Probably requires major changes to the build system however. Such as moving to rollup instead of webpack.

simonbengtsson avatar Aug 17 '20 12:08 simonbengtsson

Is there any progress news about this issue ? :)

bogeszmix avatar Dec 13 '20 11:12 bogeszmix

As far as I know noone is working on this right now.

simonbengtsson avatar Dec 13 '20 11:12 simonbengtsson

I get the same commonJS warning...still noone covering this?

nicolacardi avatar Jun 28 '21 21:06 nicolacardi