Browse Source

fix for requirejs optimizer and config.js fallback

Torkel Odegaard 12 years ago
parent
commit
682740a020
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tasks/options/requirejs.js

+ 2 - 0
tasks/options/requirejs.js

@@ -12,6 +12,8 @@ module.exports = function(config,grunt) {
         optimizeCss: 'none',
         optimizeAllPluginResources: false,
 
+        paths: { config: '../config.sample' }, // fix, fallbacks need to be specified
+
         removeCombined: true,
         findNestedDependencies: true,
         normalizeDirDefines: 'all',