Trying to use some of the modern js dev tools in a plugin

Has anybody gotten a webpack workflow working so that we can leverage npm in the plugins?

I got something, but have been running into this error:

1580237553568x140226546698364540:198 Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'

Client side (browserify) or server side?

I haven’t tried that yet but I’m interested in knowing that too.

client side (webpack was what I tried)

Can you share your code and the plugin setup, maybe we can help

got it working somewhat (the preview is working), but then it says can’t parse plugin code when I try it out.

If you DM me your github name, I’ll add you to the repo