refactor(ShadowCss): remove a comment that trigger an issue with webpack (#11587)

fixes #11584
This commit is contained in:
Victor Berchet 2016-09-13 21:59:11 -07:00 committed by Igor Minar
parent c65d139081
commit b847257b16
1 changed files with 1 additions and 1 deletions

View File

@ -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 {