For some reason, when I compile the Vite project and ran the preview command.
It throws an error in console and all components become non-functioning.
has method does not exist
irregularPlurals.has(word.toLowerCase())
So I am unsure what is it. At the moment, since we use only a single word for pluralization, I wrote my own tiny function that will just append s for plural meaning. For more complex checks and words, I'd like to use this package, but it's just not working.
For some reason, when I compile the Vite project and ran the
preview
command. It throws an error in console and all components become non-functioning.So I am unsure what is it. At the moment, since we use only a single word for pluralization, I wrote my own tiny function that will just append
s
for plural meaning. For more complex checks and words, I'd like to use this package, but it's just not working.