cfinke / Typo.js

A client-side JavaScript spellchecker that uses Hunspell-style dictionaries.
Other
501 stars 110 forks source link

Ignore "fs" module in browser builds to support webpack #52

Closed balderdash closed 7 years ago

balderdash commented 7 years ago

This fixes https://github.com/cfinke/Typo.js/issues/42.

I just copied https://github.com/pugjs/pug/pull/1644

cfinke commented 7 years ago

I don't use Typo in an environment where this would come up, so I'm going to take your word for it. Thanks for the patch.

SRobotSoftware commented 7 years ago

This continues to be an issue preventing webpack from compiling properly. The patch fixes it, but there doesn't seem to be a release containing this update yet.

cfinke commented 7 years ago

Sorry about that, I forgot about pushing the release to npm. Version 1.0.2 has been published now.