Why do concatenated RequireJS AMD modules need a loader?

前端 未结 5 1424
后悔当初
后悔当初 2021-01-30 17:05

We love RequireJS and AMD during development, where we can edit a module, hit reload in our browser, and immediately see the result. But when it comes time to concatenate our mo

5条回答
  •  走了就别回头了
    2021-01-30 17:42

    The only real benefit is if you use modules across sections so there's a benefit to caching modules independently.

提交回复
热议问题