3 ms·
The npm package has the pre-built files: https://www.npmjs.com/package/codemirror-elements https://www.npmjs.com/package/codemirror-elements I publish to npm b
by spankalee 3y ago
The npm package has the pre-built files: https://www.npmjs.com/package/codemirror-elements https://www.npmjs.com/package/codemirror-elements
I publish to npm because 1) Package managers are a fabulous idea. They're an easy way to download a package and it's dependencies, and update them over time. 2) it's not a good idea to push build artifacts to your repo, 3) This depends on CodeMirror, which is published to npm. Otherwise I would have to provide it too. That's too much work. 4) you don't need to be a Node developer to use npm.