Due to non_webpack_require at index.js:11, there is a hard dependency on Webpack if you are attempting to use node-native-ocr with Electron.
In my scenario, I am using Vite which uses rollup.js. Due to __non_webpack_require__ being Webpack-specific, this makes the library unusable in my scenario.
I'm open to suggestions on shims, but would be interested in more permanent solutions in the library itself.
Due to non_webpack_require at index.js:11, there is a hard dependency on Webpack if you are attempting to use
node-native-ocr
with Electron.In my scenario, I am using Vite which uses rollup.js. Due to
__non_webpack_require__
being Webpack-specific, this makes the library unusable in my scenario.I'm open to suggestions on shims, but would be interested in more permanent solutions in the library itself.