Skip to content

Commit a8c7083

Browse files
authored
chore: add region comment (#17370)
1 parent b3f5bd1 commit a8c7083

File tree

1 file changed

+6
-0
lines changed
  • packages/vite/src/node/plugins

1 file changed

+6
-0
lines changed

packages/vite/src/node/plugins/css.ts

+6
Original file line numberDiff line numberDiff line change
@@ -2051,6 +2051,7 @@ function fixScssBugImportValue(
20512051
return data
20522052
}
20532053

2054+
// #region Sass
20542055
// .scss/.sass processor
20552056
const makeScssWorker = (
20562057
resolvers: CSSAtImportResolvers,
@@ -2222,6 +2223,7 @@ const scssProcessor = (
22222223
},
22232224
}
22242225
}
2226+
// #endregion
22252227

22262228
/**
22272229
* relative url() inside \@imported sass and less files must be rebased to use
@@ -2291,6 +2293,7 @@ async function rebaseUrls(
22912293
}
22922294
}
22932295

2296+
// #region Less
22942297
// .less
22952298
const makeLessWorker = (
22962299
resolvers: CSSAtImportResolvers,
@@ -2480,7 +2483,9 @@ const lessProcessor = (maxWorkers: number | undefined): StylePreprocessor => {
24802483
},
24812484
}
24822485
}
2486+
// #endregion
24832487

2488+
// #region Stylus
24842489
// .styl
24852490
const makeStylWorker = (maxWorkers: number | undefined) => {
24862491
const worker = new WorkerWithFallback(
@@ -2609,6 +2614,7 @@ function formatStylusSourceMap(
26092614

26102615
return map
26112616
}
2617+
// #endregion
26122618

26132619
async function getSource(
26142620
source: string,

0 commit comments

Comments
 (0)