I'm optimizing my requirejs app along with backbone and jquerymobile, the following is my file structure:
/application
/app
/models
/views
/collections
/scripts
main.js
text.js
/assets
backbone.js
/libs
/jquery
/jquery.js
/jquery-mobile.js
app.js
r.js
/public
/css
/style.css
In the console, I tried to run to ff command:
node ../r.js -o name=main out=../build.js baseUrl=. paths.models=../app/models paths.app=../app
I made sure that paths are well defined and properly working except with this error( this is what I am getting when running the command):
Tracing dependencies for: main
Error: Module loading did not complete for: jquery
at Function.traceDependencies (/home/dunhak/public_html/my_path/etc/application/r.js:15117:19)
Thank you so much!