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

Using Angular Package Format to Create Modules for MathJax #36

Open
fireflysemantics opened this issue May 2, 2021 · 0 comments
Open

Comments

@fireflysemantics
Copy link

fireflysemantics commented May 2, 2021

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.

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