theothergrantdavidson / opencv-ts

A place for the typescript bindings for OpencvJS
Apache License 2.0
51 stars 18 forks source link

Disable bundling of `fs` for browser environments (Fixes #1) #2

Closed bemayr closed 3 years ago

bemayr commented 3 years ago

This PR fixes #1.

Currently I am monkey-patching the package.json in node_modules, but it would be awesome to have this pushed to npm. If you find the time I would be more than happy! If I stumble upon any types that are needed in the project we are working on, I will contribute them back for sure.

Again thanks for the project! 😁