浏览代码

fix for requirejs optimizer and config.js fallback

Torkel Odegaard 12 年之前
父节点
当前提交
682740a020
共有 1 个文件被更改,包括 2 次插入0 次删除
  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',