javascript - Pros & Cons of using requirejs (-m amd) for typescript+angular projects -
for angular 1.x project uses typescript, pros , cons of using amd? meaning, running tsc
params -m amd
, using requirejs, versus using /// <reference path="..." />
internal modules , wrapping in module
(s).
which-
- makes more sense angularjs? (if think 1 better other in particular case).
- is better large scale angular apps?
- would better @ minification+obfuscation of large code base?
- makes more sense angularjs?
angular1 : --module amd
angular2 : --module system
the angularjs team uses internally.
- is better large scale angular apps?
yes. --out
, reference
comments are bad idea. more : https://github.com/typestrong/atom-typescript/blob/master/docs/out.md
- would better @ minification+obfuscation of large code base?
it same. main advantage dev time readability , maintainability.
Comments
Post a Comment