Open anomiex opened 1 week ago
I'm a gentledev I:
The documentation at https://github.com/nfroidure/svgicons2svgfont/blob/main/README.md#in-your-scripts accurately reflects how to use the package.
The documentation uses require(), but since v13.0.0 this package is ESM-only.
require()
node -v result:
node -v
v22.10.0
npm -v result:
npm -v
10.9.0
If the result is lower than 20.11.1, there is poor chances I even have a look to it. Please, use the last NodeJS LTS version.
Tahnks for reporting, will try to update asap, feel free to PR if you wish.
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
Debugging informations
node -v
result:npm -v
result:If the result is lower than 20.11.1, there is poor chances I even have a look to it. Please, use the last NodeJS LTS version.