Answer the question
In order to leave comments, you need to log in
Preloading in require.js
Good afternoon, a question for the experienced. I use require.js in one project and it so happened that 90% of the modules use the same libraries, can they somehow be preloaded into define without a description, so to speak “by default”, because now “noodles” are coming out.
Answer the question
In order to leave comments, you need to log in
Excuse me, but why do you need require.js with this approach? You can also use all sorts of head.js and stuff, since you have such related modules. And jquery plugins are not modules at all. You can group them together with jquery, since they are only used in this context. This is done with plugins from twitter bootstrap for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question