I am getting undefined from import PDFAssembler from 'pdfassembler' using Webpack (with a config that works with most libraries e.g. moment, pdfjs, jss, knockout/tko, file-saver, lodash).
I'm happy to put together a MWE to demonstrate, though I suspect the problem may be fairly apparent or trivial to solve.
An alternative would be to copy the pdfassembler.ts to dist/ since some folks (like myself) might be just as happy to use that directly.
Cheers.
I am getting
undefinedfromimport PDFAssembler from 'pdfassembler'using Webpack (with a config that works with most libraries e.g. moment, pdfjs, jss, knockout/tko, file-saver, lodash).I'm happy to put together a MWE to demonstrate, though I suspect the problem may be fairly apparent or trivial to solve.
An alternative would be to copy the
pdfassembler.tstodist/since some folks (like myself) might be just as happy to use that directly.Cheers.