Skip to content

Commit

Permalink
fix: banner comment in generated axe files (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeyyy authored Aug 30, 2018
1 parent 8138e55 commit e4788bf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ module.exports = function(grunt) {
quote_style: 1
},
output: {
comments: /^!/
comments: /^\/*! aXe/
}
}
},
Expand All @@ -243,9 +243,8 @@ module.exports = function(grunt) {
};
}),
options: {
preserveComments: function(node, comment) {
// preserve comments that start with a bang
return /^!/.test(comment.value);
output: {
comments: /^\/*! aXe/
},
mangle: {
reserved: ['commons', 'utils', 'axe', 'window', 'document']
Expand Down

0 comments on commit e4788bf

Please sign in to comment.