electron-webpack icon indicating copy to clipboard operation
electron-webpack copied to clipboard

Can you push update so there was support of Webpack 5?

Open creotiv opened this issue 4 years ago • 5 comments

creotiv avatar Sep 16 '21 11:09 creotiv

I have forked this and made it run with webpack 5 - you can find the fork here: https://github.com/phryneas/electron-webpack

Please note that I only did this as part of a spike to evaluate different build systems, so "running" for me does not mean that I covered every possible edge case - and depending if we use it for our product, it might get any updates & maintenance or not. But it might be a good starting point for others.

phryneas avatar Jun 13 '22 11:06 phryneas

@phryneas How can I install your fork via yarn/npm?

Bartel-C8 avatar Jul 26 '22 12:07 Bartel-C8

@Bartel-C8 I only built it locally with yalc and didn't end up switching over to webpack 5, so you'd have to build it yourself.

phryneas avatar Jul 26 '22 13:07 phryneas

~~Thanks, got to install it (just now) with the help of: https://gitpkg.vercel.app/~~

~~yarn add -D 'https://gitpkg.now.sh/phryneas/electron-webpack/packages/electron-webpack?master'~~

EDIT: the above did not work ofc, as it is not built (as a running binary).

Why did you not switch to webpack 5? Some major issues?

Bartel-C8 avatar Jul 26 '22 13:07 Bartel-C8

Ah sorry, this is the electron repo. Correct answer here is that I didn't end up electron at all, but went with tauri.

phryneas avatar Jul 26 '22 14:07 phryneas