You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to include npm @techstark/opencv-js in my web app.
The github site for this package recommended this webpack config:
module.exports = {
resolve: {
modules: [...],
fallback: {
fs: false,
path: false,
crypto: false
}
}
};
But my app is using rollup and I don't know how to translate this into rollup config.
I have attempted to out at the top of my rollup.config file:
import nodePolyfills from 'rollup-plugin-node-polyfills'; errors during build
and in the plugins array include:
nodePolyfills()
but that errors
Help greatly appreciated.
Activity