I\'m trying to get Durandal.js optimizer working on my test project, but it seems to generate nothing to main-built.js. I use the following command from node.js command prompt,
In the same amd folder, where optimizer is stored, try running node r.js -o app.build.js
. I've seen r.js
sometimes choke about some dependencies, which resolves without problem when loading via require.js
. For whatever reason the error messages won't show up when using optimizer --verbose
. Typically the error message provides enough information to see where this occurs and if you've to update require.contig.paths
or a specific define
dependency.