Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include prebuilt js for browsers in npm packages #834

Open
Mourdraug opened this issue Jun 25, 2018 · 0 comments
Open

Include prebuilt js for browsers in npm packages #834

Mourdraug opened this issue Jun 25, 2018 · 0 comments

Comments

@Mourdraug
Copy link

Including prebuilt js in npm packages would really simplify installation of this library when using bundlers other than browserify.
Right now adding it to Angular project through npm is a real pain, theorethically we could use brfs, but latest Angular CLI have ng eject command disabled, and at this point it's easier to just add file manually and update it by hand which requires keeping a copy of library in repo.

Meanwhile pdfmake which wraps pdfkit suffers from same issue outside browserify but since it includes prebuilt js we can import it like import pdfMake from 'pdfmake/build/pdfmake.js';

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

No branches or pull requests

1 participant