Unable to build project with webpack plugin #2450
Replies: 3 comments 4 replies
-
The problem originates here: https://github.com/pubkey/broadcast-channel/blob/337ab293fe323dc4269ca59ab659241816b557e0/src/method-chooser.js#L27 Why this is not "shim"ed by webpack as it should be? If I comment out this part and overwrite the dependency with the resolution field in my package.json it starts to work. This is very hacky. How would you change it? |
Beta Was this translation helpful? Give feedback.
-
Hi @openscript thanks for reporting. I'm not sure why this is happening but I'll pass on to a maintainer more knowledgable to see if they can take a look. |
Beta Was this translation helpful? Give feedback.
-
@openscript (Why) do you need the webpack plugin to import rxBD? |
Beta Was this translation helpful? Give feedback.
-
Hello everybody
I'm trying to use the
@snowpack/plugin-webpack
, but I run into the following issue:Expand to see the error
The project can be found here: https://github.com/timelet/timelet
Has it something to do with the node polyfills?
It fails here:
Beta Was this translation helpful? Give feedback.
All reactions