From a8b1c3611017ce0d8c9c9e364e2a93a93d22f4b4 Mon Sep 17 00:00:00 2001 From: jin Date: Sat, 1 Jul 2023 23:07:43 +0300 Subject: [PATCH] $mol_build: unsupport hyphens in css for fqn --- build/build.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.node.ts b/build/build.node.ts index 73dcb1ea0da..d5a588e2a91 100644 --- a/build/build.node.ts +++ b/build/build.node.ts @@ -1665,7 +1665,7 @@ namespace $ { var priority = -indent[ 0 ].replace( /\t/g , ' ' ).length / 4 line.replace( - /(?:--|\[)([a-z][a-z0-9]+(?:[-_][a-z0-9]+)+)/ig , ( str , name )=> { + /(?:--|\[)([a-z][a-z0-9]+(?:[_][a-z0-9]+)+)/ig , ( str , name )=> { $mol_build_depsMerge( depends , { [ '/' + name.replace( /[._-]/g , '/' ) ] : priority } ) return str }