|
|
|
|
|
by jkrems
4500 days ago
|
|
- Organized code (into modules) - Explicit dependencies (instead of using the global scope for communication) - Easier to reason about and test parts of the code - Errors are properly isolated in a module The post is putting module loaders (requirejs) and "using modules" (e.g. commonjs) into the same box. With browserify you end up with one or maybe two large concatenated file that you then place in script tags at the bottom of your HTML. There's no "instead". |
|