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
Problem
Currently package.main points to dist/index.js. It means when I build my app with websocket-as-promised - I can get duplicated dependencies (and definitely duplicated webpack-runtime)
Solution
point package.main to src/index.js. But build bundle as well. Bundle can be included as require('websocket-as-promised/dist').
Problem
Currently
package.main
points todist/index.js
. It means when I build my app with websocket-as-promised - I can get duplicated dependencies (and definitely duplicated webpack-runtime)Solution
package.main
tosrc/index.js
. But build bundle as well. Bundle can be included asrequire('websocket-as-promised/dist')
.The text was updated successfully, but these errors were encountered: