Closed Sashkan closed 5 years ago
Hi there,
I took over a project using the redux-ssr
branch and I would be interested in using with webpack 4. Has someone done any work on this? I must admit I don't really understand everything that's going on here.
I just started working on this awesome project, and I gotta admit it's amazing. Unfortunately, I'm working on the SSR version of it, which is still running with webpack 2.
My idea was to upgrade to webpack 4, and then upgrade the config file so that it would build nicely.
Unfortunately, most of the dependencies were using webpack 2 as well, therefore making it uneasy to just upgrade them.
I came up with the idea of using the output of the original config file, by using a simple log of the
client
object, and then tweaking it so that it would respect webpack 4 rules.This is the actual version :
Now, the ugly part...
As the result of a webpack2-based config, I assume that the output includes some deprecated options, especially the result of the
ChildConfigPlugin
, which must be the reason for the following error:But since I have little to no experience with webpack-blocks, I have no idea where this
option
property comes from.Any help about how to adapt this to webpack 4 would be greatly appreciated !