node-cld
node-cld copied to clipboard
Bundling with Webpack fails
We are packaging our project with serverless, which uses Webpack.
The packaging fails for cld
with the following error:
ERROR in ../../cld/index.js 2:13-43 Module not found: Error: Can't resolve './build/Release/cld' in 'node_modules/cld'
Changing the way it is imported should fix the issue. Is it something that could be implemented? Thank you!
Are you aiming to run this in a browser?
No, we are running a set of lambda functions and we package & deploy those using serverless & serverless-bundle.
I'll consider a pull request if you have one but as it stands I don't have time to investigate and fix this.
@dachev , is it possible to run this on browser(client side) somehow?
@vinaygosain unfortunately this is not possible