sunflowerdeath / webfonts-generator

Generator of webfonts from svg icons
The Unlicense
271 stars 152 forks source link

removePeriods is not registered #45

Open guillaume-duchemin opened 6 years ago

guillaume-duchemin commented 6 years ago

Hi ! Thx for your font generator, it is very helpful ;) But I have an issue with the html file. When I set

html: true,
htmlTemplate: 'src/templates/html.hbs',
htmlDest: 'dist/index.html',

renderHTML function seems to be called but handlebar crashes with this error message: Missing helper: "removePeriods"

I had to add it manually in my JS file.

Any idea ? Anyone with the same issue ?

Have a good day.

davorpeic commented 6 years ago

I'm using one webpack plugin that relies on this generator and I noticed that baseSelector class is not rendered because uses removePeriods helpers, I don't see any errors, but I assume it could be related why class is not rendered in html template

guillaume-duchemin commented 6 years ago

Maybe, i'm using it natively !