refactor(ShadowCss): remove a comment that trigger an issue with webpack (#11587)
fixes #11584
This commit is contained in:
parent
c65d139081
commit
b847257b16
|
@ -483,7 +483,7 @@ function stripComments(input: string): string {
|
|||
return StringWrapper.replaceAllMapped(input, _commentRe, (_: any /** TODO #9100 */) => '');
|
||||
}
|
||||
|
||||
// all comments except inline source mapping ("/* #sourceMappingURL= ... */")
|
||||
// all comments except inline source mapping
|
||||
const _sourceMappingUrlRe = /\/\*\s*#\s*sourceMappingURL=[\s\S]+?\*\//;
|
||||
|
||||
function extractSourceMappingUrl(input: string): string {
|
||||
|
|
Loading…
Reference in New Issue