Skip to content

Commit

Permalink
feat: added support webpackIgnore comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-Bernardito committed Feb 19, 2021
1 parent 95caf72 commit 565e1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ export function c0ControlCodesExclude(source) {
return { value, startOffset };
}

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

export function isWebpackIgnoreComment(node) {
if (node.nodeName !== '#comment') {
Expand Down

0 comments on commit 565e1bd

Please sign in to comment.