Closed timothyblue closed 7 years ago
It sounds like the file isn't being included in the bundle at all. Does your list of loaders in the webpack config exclude node_modules by accident? Is your webpack root not the project root (aka node_modules is in a parent or sibling dir) Might have more luck with the webpack issue tracker as well, and posting your webpack conf file.
Closing due to inactivity :)
I'm trying to get the cross-storage client to work with webpack but I keep getting the following error:
Unhandled Promise rejection: CrossStorageClient is not defined ; Zone: <root>
I tried
require('cross-storage').CrossStorageClient;
andimport './node_modules/cross-storage/dist/client.min.js'; in
my webpack.config but got the same error.Any ideas would be great.