Closed matheushjs closed 5 years ago
I guess the most important point here is that we should be pre-compiling javascript on server-side, so that it is easier to debug it
We need webpack, but not babel.
Webpack will allow us to separate our client-side code in modules; webpack later bundles them all in a single file.
More than that, webpack minifies the bundled code, by substituting even names of variables to shorter names.
Webpack does not check syntax, which is problematic.
Client-side javascript is becoming messy and hard to maintain.
These libraries should serve to solve that.