Closed Vectorrent closed 2 years ago
Aaand... I just noticed that ES6 import isn't working. Give me a day or two to get that one fixed.
False alarm! You can merge this, if you want it. It was just a caching issue.
The ES6 syntax is:
import Grammarify from 'grammarify'
const grammarify = new Grammarify({opts})
Still not working in Node, as an ES6 module. The browser compiler was smart enough to fix the other issues.
Going to close this PR for now. I'll open another one if I can get this stuff working better.
Thanks @LuciferianInk for your partial work here. I've pushed a release with these changes.
Some of the methods in here, ie unstretchify
and fixStretching
definitely are a bit to unwind! Thanks for working through and your input on this project.
This was more of a challenge than I expected it to be! This project is a little confusing, but very much appreciated. Thanks for keeping it maintained for us!
Ink