Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit 2212ff1

Browse files
committed
Grunt: Preserve only ngFeathers comments
1 parent a7bb536 commit 2212ff1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ module.exports = function (grunt) {
33
uglify: {
44
main: {
55
options: {
6-
preserveComments: 'some'
6+
preserveComments: function (node, comment) {
7+
return comment.value.indexOf('ngFeathers') > -1
8+
}
79
},
810
files: {
911
'dist/ng-feathers.min.js': ['src/ng-feathers.js'],

0 commit comments

Comments
 (0)