Skip to content

Commit

Permalink
ng5+ support
Browse files Browse the repository at this point in the history
  • Loading branch information
artemsky committed Dec 9, 2017
1 parent be36511 commit 9ff8e48
Show file tree
Hide file tree
Showing 6 changed files with 734 additions and 794 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Change Log

### v4.2.0
- add Angular 5+ support

### v4.1.0
- escape SVG icons bug with Safari, Firefox
- add [iconClass](https://artemsky.github.io/ng-snotify/documentation/api/options.html#iconclass)
Expand Down
12 changes: 2 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,8 @@ gulp.task('inline-resources', function () {
* compiled modules to the /build folder.
*/
gulp.task('ngc', function () {
return ngc({
project: `${tmpFolder}/tsconfig.es5.json`
})
.then((exitCode) => {
if (exitCode === 1) {
// This error is caught in the 'compile' task by the runSequence method callback
// so that when ngc fails to compile, the whole compile process stops running
throw new Error('ngc compilation failed');
}
});
ngc([ '--project', `${tmpFolder}/tsconfig.es5.json` ]);
return Promise.resolve()
});

/**
Expand Down
Loading

0 comments on commit 9ff8e48

Please sign in to comment.