8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee77388 commit a46f18fCopy full SHA for a46f18f
src/Symfony/Component/AssetMapper/Compiler/JavaScriptImportPathCompiler.php
@@ -42,15 +42,15 @@ final class JavaScriptImportPathCompiler implements AssetCompilerInterface
42
(?: # Import statements (script captured)
43
import\s*
44
(?:
45
- (?:\*\s*as\s+\w+|\s+[\p{L}\w\s{},*]+)
+ (?:\*\s*as\s+\w+|\s+[\w\s{},*]+)
46
\s*from\s*
47
)?
48
|
49
\bimport\(
50
)
51
\s*[\'"`](\.\/[^\'"`\n]++|(\.\.\/)*+[^\'"`\n]++)[\'"`]\s*[;\)]
52
?
53
- /mx';
+ /mxu';
54
55
public function __construct(
56
private readonly ImportMapConfigReader $importMapConfigReader,
0 commit comments