nfroidure / svgicons2svgfont

Concatenate SVG icons and ouput an SVG font
http://nfroidure.github.io/svgiconfont/
MIT License
337 stars 70 forks source link

Usage example in readme needs updating after v13.0.0 #172

Open anomiex opened 1 week ago

anomiex commented 1 week ago

Issue

I'm a gentledev I:

Expected behavior

The documentation at https://github.com/nfroidure/svgicons2svgfont/blob/main/README.md#in-your-scripts accurately reflects how to use the package.

Actual behavior

The documentation uses require(), but since v13.0.0 this package is ESM-only.

Steps to reproduce the behavior

  1. Attempt to create a script based on the example in the readme.

Debugging informations

nfroidure commented 6 days ago

Tahnks for reporting, will try to update asap, feel free to PR if you wish.