Преглед изворни кода

use gulp-component 0.1.6 with modified require header

Evan You пре 12 година
родитељ
комит
876f859783
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 1 1
      package.json
  2. 2 1
      tasks/build.js

+ 1 - 1
package.json

@@ -31,7 +31,7 @@
     "grunt-karma": "~0.6.2",
     "grunt-karma-coveralls": "~2.3.0",
     "grunt-saucelabs": "~4.1.2",
-    "gulp-component": "~0.1.4",
+    "gulp-component": "~0.1.6",
     "vinyl-fs": "~0.0.2",
     "jshint-stylish": "~0.1.4",
     "semver": "~2.2.1",

+ 2 - 1
tasks/build.js

@@ -57,7 +57,8 @@ function uglify (file, cb) {
             pure_funcs: [
                 'utils.log',
                 'utils.warn',
-                'enableDebug'
+                'enableDebug',
+                'throwError'
             ]
         }
     }).code)