📌  相关文章
📜  角度生产与开发模式 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:21.245000             🧑  作者: Mango

代码示例1
In angular 2+,
ng build --dev (development mode) ng build --prod (production mode)
produce different behaviours.

                Development  | Production
-------------------------------------------
Source Map   |  yes              no
Extract CSS  |  css in .js      css in    .css
Minification |  no               yes
Tree Shaking |  no               yes
Compiler     |  JIT              AOT