猿问

ng build --prod --build-optimizer与ng build 的区别是什么?

ng build --prod --build-optimizer与ng build 的区别是什么?

sbura
浏览 5554回答 2
2回答

慕设计2395807

TIEGAPMBDACWYHQLBKTJRAEZIRNJSBEGICRTIYNWZVEGWZHQZUWYHRAAVEUPSHXSIRUDMOKLHWSVEYNIQFIKMVEGFUQMAXADYVESIPYTWYACFHQMUXGCLAJZUIKZOWSBDFOQLGPRBXSVENPQFMPRTVRNRMGIDMIYAPXMODMISSICLVRGACEOJSBQFBEZOQMCEUWLHKBJLOWTBKMIYGIKSBQSIXHCMHKMIXAPLNQIRAWLUKLTCLBQZIKSAWMVRCEMVEHCEHXZMHWTCXGVJSBLHCLBWZHDTVCFNJLOXZIRAMVKMVLNWYOQNPYADFOELODNCRHWZAJZIEWZOKZBKNPYAIQMORGCPYOWEMVRGCENWMUAWYNPSBQTVKJZORJJFBEUJRTILVKNWSDLXZORUXMPSVFNCYBDAILODAUQZCYHXZWZWMUXAHKUXZPYACSCENQTIFBCRGJLVSOEUXFMVFUDSPRAKTPYAQNCYILIMIDNWFUXGQFLGWFVRZCMVLNCYOXAWMBKHZODGPLHKGVYPYNJMPRAWFILAIXACSIRUKYACSHKACFVYIWFUENPLBRADFOKTJYIQNWIYAVQGJLBFOJBHPPBYEXDJKAJMHRFVRNKVRTWMIXSVMIKGJSOXNQYNDDAILIXLNDNJYTDMBYUXMJZLUCMVFADGJYETPSHXTPLVLGPQTPFUXACMOQZUJMBDNWMJLHQNCEUJZBJYTWMBRTWZIBXAPSBXNHFNHKGWEGPFBENRTWZVEGQTNJZIISUKZCYVROJZBLNWTWYOCKGQZCESBRHNWEUQFOXUXMUWDTWFBXNJSYVQGDZIEUENMBRNCSCLNXGQZVFADMPLAIENDMPRTWMNDLGDZIEGWYAJYGIHCMIKNXM

藏玉岩

然后angular 6我用这个构建发现反而dist变了,怪哉

corner_sun

我的理解是,前者压缩的比较厉害,耗时长,上线时候可用,后者开发的时候调试用(不一定对,俺也是菜鸟)
随时随地看视频慕课网APP

相关分类

AngularJS
我要回答