Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.32k stars 308 forks source link

Development build? #539

Closed N0N0 closed 1 year ago

N0N0 commented 1 year ago

Describe your question Please describe your question in as much detail as possible.

Hi it seems not possible to me to create development/debug/non-minified version of easymde via NPM. Do You know a way to achieve this or are You able to provide configuration for NPM to respect --save-dev option?

Ionaru commented 1 year ago

As far as I'm aware, the --save-dev parameter is not meant to install a development version of any package, but instead saves the installed dependency to your devDependencies list for use during development of your own application or package.

To debug any part of easymde, you can clone the project and use npm link to link it to your own application or package.

Keep in mind that the source code of easymde can not run in a browser, it needs the build/minify step to produce a browser-compatible package.

N0N0 commented 1 year ago

This is sad news as it leaves the library quite hard to extend and more to maintain extensions to it. But thank You very much for the quick and detailed response!