Open wafflepie opened 6 years ago
I will look into that. Not everything is priority. We have plans with union-scripts which makes this possible refactor just temporary. But thank you for comments.
Okay, I'll try to stay away from doing any major refactoring in the ssr
branch and will only leave comments as to what should be improved so that we don't forget about it.
There are a couple of points that I'd like to address:
lib
folder to something likeutils
.utils
to a separate package (or at least a separate folder or file).webpack.config.js
along with the parts to a separate package or a separate folder (or even a file, that would be sufficient).startDevServer.js
file, just merge it with thestart.js
file.scripts
directory is a mess of multiple types of files. I'd like it to be a directory with the possible entry points for react-union-scripts and nothing else (test, build, start, that's it).The code itself is pretty good, but the directory structure needs a major revamp.