Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Jun 3, 2024
1 parent ed76d8f commit 6321d7b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2046,7 +2046,8 @@ function fixScssBugImportValue(
return data
}

// #region .scss/.sass processor
// #region Sass
// .scss/.sass processor
const makeScssWorker = (
resolvers: CSSAtImportResolvers,
alias: Alias[],
Expand Down Expand Up @@ -2286,7 +2287,8 @@ async function rebaseUrls(
}
}

// #region .less
// #region Less
// .less
const makeLessWorker = (
resolvers: CSSAtImportResolvers,
alias: Alias[],
Expand Down Expand Up @@ -2476,7 +2478,8 @@ const lessProcessor = (maxWorkers: number | undefined): StylePreprocessor => {
}
}

// #region .styl
// #region Stylus
// .styl
const makeStylWorker = (maxWorkers: number | undefined) => {
const worker = new WorkerWithFallback(
() => {
Expand Down

0 comments on commit 6321d7b

Please sign in to comment.