Using Angular Package Format to Create Modules for MathJax
fireflysemantics opened this issue · 0 comments
I noticed that most of the MathJax source is written in Typescript.
I wonder if you think it might be helpful to have the project built using the Angular Package Format?
The nice thing about the Angular Package Format is that it compiles the code into most of the popular package formats:
- FESM2015
- FESM5
- UMD
- Typescript Package Metadata
It also automatically creates package.json
settings that make it easy to install and use the modules in most (If not all) environments, which I think should make it easier to consume MathJax in general.
This is one of my projects:
https://github.com/fireflysemantics/slice
Because it's compiled with the Angular Package Format its very easy for consumers to just add the dependency to Stackblitz and experiment with the API.
Here's an example:
https://stackblitz.com/edit/slice-todo-fs
I would love to help out with this if there is interest. This is a basic overview of the creation process.