Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
[CORE] fixed bundle error
Browse files Browse the repository at this point in the history
Signed-off-by: Shijir Tsogoo <[email protected]>
  • Loading branch information
Shijir authored and adibwoy committed Dec 16, 2016
1 parent 340d711 commit 72a1fe9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/tasks/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ gulp.task("bundle:icons", ["typescript:icons"], function() {
return builder.bundle("icons/**/*.js", "dist/bundles/define-clarity-icons.min.js", buildOpts)
.catch(function(err) {
console.error(err);
process.exit(1);
});


Expand All @@ -48,6 +49,7 @@ gulp.task("bundle:icons:sfx", ["typescript:icons"], function() {
return builder.buildStatic("icons/**/*.js", "dist/bundles/clarity-icons.min.js", buildOpts)
.catch(function(err) {
console.error(err);
process.exit(1);
});

});
Expand Down Expand Up @@ -76,6 +78,7 @@ gulp.task("bundle:clarity:js", ["typescript:clarity"], function() {
return builder.bundle("clarity-angular/**/*.js", "dist/bundles/clarity-angular.min.js", buildOpts)
.catch(function(err) {
console.error(err);
process.exit(1);
});
});

Expand Down Expand Up @@ -109,6 +112,7 @@ gulp.task("bundle:clarity:js:ng1", ["typescript:clarity"], function() {
return builder.buildStatic("tmp/clarity-angular/**/*.js", "dist/bundles/angular1/clarity-angular1.min.js", buildOpts)
.catch(function(err) {
console.error(err);
process.exit(1);
});
});

Expand All @@ -131,13 +135,17 @@ gulp.task("bundle:demos:js", ["typescript:demos"], function() {
packages: {
"clarity-demos": {
defaultExtension: "js"
},
"icons": {
defaultExtension: "js"
}
}
});

return builder.bundle("clarity-demos/**/demo/*.js", "dist/bundles/clarity-demos.min.js", buildOpts)
.catch(function(err) {
console.error(err);
process.exit(1);
});
});

Expand Down

0 comments on commit 72a1fe9

Please sign in to comment.