dodo / node-slug

slugifies even utf-8 chars!
MIT License
1.07k stars 94 forks source link

don't browserify `unicode/category/So` #52

Open nichoth opened 9 years ago

feross commented 7 years ago

Please merge this @dodo. The "browser" field in package.json tells bundlers like browserify and webpack to skip bundling a module.

This is the proper way to ignore the 2MB unicode file in the browser. It's automatic, so users don't have to read the instructions in the readme and do a separate bundle just for this package.

lillem4n commented 6 years ago

I added this to my fork here: https://github.com/larvit/larvitslugify/commit/d76c8d285faf43f8b5c4e60afb566baeafb085ba