Skip to content

Commit

Permalink
Update Comments regex
Browse files Browse the repository at this point in the history
  • Loading branch information
boopathi committed Jan 23, 2017
1 parent 413b9ce commit 0771df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = class BabiliPlugin {

const jsregex = options.test || /\.js($|\?)/i;
const commentsRegex = typeof options.comments === "undefined"
? /@preserve|@license/
? /@preserve|@licen(s|c)e/
: options.comments;

const useSourceMap = typeof options.sourceMap === "undefined"
Expand Down

0 comments on commit 0771df0

Please sign in to comment.