phihag/pdfform.js

Uglify does not remove require() statements

Opened this issue · 1 comments

Snapu commented

Uglify does not remove require() statements, which makes the pdfform.minipdf.dist.js not usable. One should use Rollup, Webpack or Browserify.

I'd like to +1 this issue. Currently this project cannot be used with a webpack project that expects to follow require() statements. @phihag would you be open to a pull request or to working with me to support webpack so that yarn and npm-installed versions of pdfform.js can be compiled with webpack projects?