laysent / remark-ruby

Custom syntax for remarkjs, adding ruby (furigana) to markdown.
MIT License
25 stars 7 forks source link

package.json: use browser assert for assert #23

Closed stephen closed 3 years ago

stephen commented 3 years ago

In browsers, assert is not available by default. Some bundlers like esbuild do not swap in node-api equivalents by default. This change hints to bundlers to use browser-assert in those cases.

There shouldn't be a change in behavior otherwise.