mirror of https://github.com/webpack/webpack.git
commit
c3ed21fb73
|
|
@ -29,7 +29,7 @@ const defaultParserOptions = {
|
|||
onComment: null
|
||||
};
|
||||
|
||||
// regexp to match at lease one "magic comment"
|
||||
// regexp to match at least one "magic comment"
|
||||
const webpackCommentRegExp = new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);
|
||||
|
||||
const EMPTY_COMMENT_OPTIONS = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue