Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add region comment #17370

Merged
merged 3 commits into from
Jun 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 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,7 @@ function fixScssBugImportValue(
return data
}

// .scss/.sass processor
// #region .scss/.sass processor
btea marked this conversation as resolved.
Show resolved Hide resolved
const makeScssWorker = (
resolvers: CSSAtImportResolvers,
alias: Alias[],
Expand Down Expand Up @@ -2286,7 +2286,7 @@ async function rebaseUrls(
}
}

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

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