JS - one huge file or many small files? - where to draw a line?

前端 未结 5 1830
悲哀的现实
悲哀的现实 2021-01-04 04:36

Is there a good rule of thumb as to how big (in size) a JS file should be - that if it grows bigger than this it\'s good idea to split it into smaller files?

5条回答
提交回复
热议问题