Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 678 Bytes

File metadata and controls

8 lines (5 loc) · 678 Bytes

Packaging

MathType Web IntegrationsDocumentationDevelopment guide → Packaging

Each editor plugin that is distributed built (e.g. those that include a webpack.config.js file) must have a prepack npm lifecycle script, which is run BEFORE a tarball is packed (on yarn pack, yarn publish, and when installing git dependencies).

This script should build the package (generally by calling yarn run build). As a special case, the TinyMCE plugins call the services/compile.js script because they need to have the source replaced before building.