Skip to content

Commit

Permalink
fix comment regex in gulp minify
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed May 17, 2018
1 parent 9f8a3aa commit 88f4deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gulp-babel-minify/src/index.js
Expand Up @@ -13,7 +13,7 @@ function gulpBabelMinify(
{
babel = babelCore,
minifyPreset = babelPresetMinify,
comments = /preserve|licen(s|c)e/,
comments = /^\**!|@preserve|@license|@cc_on/,
sourceType = "script"
} = {}
) {
Expand Down

0 comments on commit 88f4deb

Please sign in to comment.