Uglify does not remove require() statements
Snapu 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.
zaksoup commented
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?