Explorar el Código

use gulp-component 0.1.6 with modified require header

Evan You hace 12 años
padre
commit
876f859783
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  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)