I am trying to consume a JET CCA in a JET application which is optimized, built by using r.js. The loader file in the CCA has a dependency for the component json and view files file using text! plugin, which is not included while the view model js, css files are built and added. The path for the text plugin is specified in the consuming application's main/config file. Tried adding the dependency for the json file in the r.js config file as well (using include option), it didnt help. Verified that the inlineText, inlineJSON properties are set to true.
I am using JET version 5.0. Can someone please help, Thanks in advance