filamentgroup / Overthrow

A tiny, no-frills, framework-independent, targeted overflow: auto polyfill for use in responsive design.
MIT License
906 stars 94 forks source link

Package not found when importing/requiring in CommonJS #94

Closed jonscottclark closed 1 year ago

jonscottclark commented 8 years ago

Trying to import overthrow in a browserify bundle. When building, I get this error:

Error: Cannot find module 'fg-overthrow' ...

Looks like the path to overflow-detect.js is incorrect in the package.json file? https://github.com/filamentgroup/Overthrow/blob/master/package.json#L9

Should it point to src/overflow-detect.js instead?