Skip to content

Commit 565e1bd

Browse files
feat: added support webpackIgnore comment
1 parent 95caf72 commit 565e1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ export function c0ControlCodesExclude(source) {
11851185
return { value, startOffset };
11861186
}
11871187

1188-
const webpackIgnoreCommentRegexp = /webpackIgnore:(\s+)?true/i;
1188+
const webpackIgnoreCommentRegexp = /webpackIgnore:(\s+)?true/;
11891189

11901190
export function isWebpackIgnoreComment(node) {
11911191
if (node.nodeName !== '#comment') {

0 commit comments

Comments
 (0)