Skip to content

Commit e6e8cb4

Browse files
committed
Maybe event more general
1 parent 14d5411 commit e6e8cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function getLoaderConfig (ctx) {
106106
function hoistUseRule (content) {
107107
const list = []
108108

109-
const cleared = content.replace(/@use ['"][^'"]*['"];/g, (match) => {
109+
const cleared = content.replace(/@use [^;];/g, (match) => {
110110
if (!list.includes(match)) {
111111
list.push(match)
112112
}

0 commit comments

Comments
 (0)