0

Using RequireJS, after optimization using r.js are files loaded via the text plugin (like templates) downloaded on demand or included in the single optimized build file?

JL Gradley
  • 1,205
  • 2
  • 11
  • 14

1 Answers1

0

This depends on the value of the inlineText optimizer option. By default it's set to true, meaning that all text! resources will be resolved and embedded into the final bundle at build time. If you'd prefer loading it at runtime set it to false.

kryger
  • 11,746
  • 8
  • 41
  • 60