Why do concatenated RequireJS AMD modules need a loader?
问题 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 modules into a single file for production deployment, there apparently has to be an AMD loader still present, whether that loader is RequireJS itself or its smaller partner “almond” as explained here: http://requirejs.org/docs/faq-optimization.html#wrap My confusion is: why is a loader necessary at all? Unless you have