We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0be8948 commit b376cbaCopy full SHA for b376cba
gulpfile.js
@@ -21,7 +21,7 @@ function buildMeta() {
21
function build() {
22
return src(underscript)
23
.pipe(replace('{{ version }}', package.version))
24
- .pipe(replace(/((?: +|\t+|^)\/\/.[^@=].*$|(?: +|\t+|^)\/\*(?:.|\n\r?)+\*\/)/gm, ''))
+ .pipe(replace(/((?: +|\t+|^)\/\/.[^@=].*$|(?: +|\t+|^)\/\*(?:[^*]|\n\r?)+\*\/)/gm, ''))
25
.pipe(replace(/(\n\r?){2,}/gm, '$1'))
26
.pipe(iff(!deploy, insert.transform((content, file) => `// ${file.basename}\n${content}`)))
27
.pipe(concat('undercards.user.js'))
0 commit comments