Closed rossthedevigner closed 10 years ago
Same here. When I do the build, it cannot find my modules.
The code runs well on local server.
My guess is that you likely do not need appDir if baseUrl is set to the same value. Instead set the baseUrl to that value. Not sure though just by looking at the config. Hopefully an error would be printed if a file was not found. If this was with r.js 2.1.14, then there was a module parsing problem that will be fixed in 2.1.15, see #704 for more details.
Closing for now as a discussion ticket. Feel free to continue discussion here though.
I'm using Grunt along with grunt-requirejs, usemin, yeoman for a multipage project, but when I try to use modules as an option in my requirejs:dist task my dependencies cannot be found. I'm also wondering if this is the best way to output multiple optimized files.
config.js
jquery-noconflict.js
index-main.js
Gruntfile.js
index.html
The code runs fine on a local server, but when I do the build, it fails on the modules. I'm not entirely sure why.
Let me know if this issue belongs in a different project.