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
If someone else has the same problem, and would like to use the NPM version instead of maintaining their own fork, here's how you can patch it with webpack: karlicoss/promnesia@de5ae3a
I am trying to use
basket.js
in one of my client side projects and seeing the following errors in console after bundling the app inwebpack
.Importing the module on top of the app.
Building the above 2 lines test application.
Error message in console
Why?
The problem is that the basket variable(dependency) can't be found by
webpack
, it requests to be defined in advanced of implementation.Solution
Updating line 204 to the following code snippet, so the rest
basket.something
can be successfully invoked.May I submit a PR?
The text was updated successfully, but these errors were encountered: