Answer the question
In order to leave comments, you need to log in
Webpack 2 for isomorphic web app?
Hello! I have been writing isomorphic applications using Webpack 1.x for over a year now. I also use a pretty good, albeit no longer supported, isomorphic DirectorJS router ().
The other day I decided to try switching to Webpack 2. In general, the process went quite well, but during the health check it turned out that the client version of the routing was broken. After I rolled back to Webpack 1, everything fell into place.
It turned out that Webpack 2 somehow required this library in a different way, so that the server version got to the client, although Webpack 1 did everything right.
I assume that in the second version, some principles for connecting libraries through require have changed, and it is quite possible that you somehow encountered similar phenomena? I will be grateful for any advice.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question