I have a WordPress plugin that I maintain and it's a wrapper for PDF.js. However, I need .js files. .mjs files work as long as users update their web servers to support .mjs files; which is asking a lot for users who don't know anything about web development.
Is there a way I can build PDF.js on my own to compile to .js? Any help on how to do this would be appreciated.
I have a WordPress plugin that I maintain and it's a wrapper for PDF.js. However, I need
.js
files..mjs
files work as long as users update their web servers to support.mjs
files; which is asking a lot for users who don't know anything about web development.Is there a way I can build PDF.js on my own to compile to
.js
? Any help on how to do this would be appreciated.