Commit a8c7083 1 parent b3f5bd1 commit a8c7083 Copy full SHA for a8c7083
File tree 1 file changed +6
-0
lines changed
packages/vite/src/node/plugins
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2051,6 +2051,7 @@ function fixScssBugImportValue(
2051
2051
return data
2052
2052
}
2053
2053
2054
+ // #region Sass
2054
2055
// .scss/.sass processor
2055
2056
const makeScssWorker = (
2056
2057
resolvers : CSSAtImportResolvers ,
@@ -2222,6 +2223,7 @@ const scssProcessor = (
2222
2223
} ,
2223
2224
}
2224
2225
}
2226
+ // #endregion
2225
2227
2226
2228
/**
2227
2229
* relative url() inside \@imported sass and less files must be rebased to use
@@ -2291,6 +2293,7 @@ async function rebaseUrls(
2291
2293
}
2292
2294
}
2293
2295
2296
+ // #region Less
2294
2297
// .less
2295
2298
const makeLessWorker = (
2296
2299
resolvers : CSSAtImportResolvers ,
@@ -2480,7 +2483,9 @@ const lessProcessor = (maxWorkers: number | undefined): StylePreprocessor => {
2480
2483
} ,
2481
2484
}
2482
2485
}
2486
+ // #endregion
2483
2487
2488
+ // #region Stylus
2484
2489
// .styl
2485
2490
const makeStylWorker = ( maxWorkers : number | undefined ) => {
2486
2491
const worker = new WorkerWithFallback (
@@ -2609,6 +2614,7 @@ function formatStylusSourceMap(
2609
2614
2610
2615
return map
2611
2616
}
2617
+ // #endregion
2612
2618
2613
2619
async function getSource (
2614
2620
source : string ,
You can’t perform that action at this time.
0 commit comments