Answer the question
In order to leave comments, you need to log in
How to prepare a minified version of a plugin in TinyMCE 5?
Tell me, how are minified versions of JS usually generated?
I am writing a plugin for TinyMCE. I plan to release it to the public. To do this, you need to generate a minified version of js. Ideally, a link to an example so that I can generate a plugin for TinyMCE 5. Preferably without using TypeScript.
On the official website in the documentation I found the generation of an example plugin using yo tinymce, but somehow the libraries were already outdated, there were difficulties with the versions, and TypeScript is used, which additionally increases the entry threshold.
Answer the question
In order to leave comments, you need to log in
In general, after studying the commits in the official TinyMCE repository, it became clear that earlier the grunt-contrib-uglify package was used as a minifier, and now it has been replaced by terser and grunt-terser . I will look for examples and use them to generate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question