Skip to content

Commit

Permalink
$mol_build: unsupport hyphens in css for fqn
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Jul 1, 2023
1 parent e80f1e7 commit a8b1c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a8b1c36

Please sign in to comment.