Skip to content

Commit 92351be

Browse files
committed
Remove unnecessary regex escape
1 parent e7be824 commit 92351be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function cssExtract (bundle, opts) {
3232

3333
function write (chunk, enc, cb) {
3434
// Performance boost: don't do ast parsing unless we know it's needed
35-
if (!/(insert\-css|sheetify\/insert)/.test(chunk.source)) {
35+
if (!/(insert-css|sheetify\/insert)/.test(chunk.source)) {
3636
return cb(null, chunk)
3737
}
3838

0 commit comments

Comments
 (0)