File tree 2 files changed +5
-6
lines changed
packages/vite/src/node/plugins
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ jobs:
118
118
if : steps.changed-files.outputs.only_changed != 'true'
119
119
run : pnpm run test-unit
120
120
121
- # - name: Test serve
122
- # if: steps.changed-files.outputs.only_changed != 'true'
123
- # run: pnpm run test-serve
121
+ - name : Test serve
122
+ if : steps.changed-files.outputs.only_changed != 'true'
123
+ run : pnpm run test-serve
124
124
125
125
- name : Test build
126
126
if : steps.changed-files.outputs.only_changed != 'true'
Original file line number Diff line number Diff line change @@ -2311,7 +2311,7 @@ const makeModernCompilerScssWorker = (
2311
2311
const worker : Awaited < ReturnType < typeof makeModernScssWorker > > = {
2312
2312
async run ( sassPath , data , options ) {
2313
2313
// workaround for windows since import("D:...") fails
2314
- const sass : typeof Sass = createRequire ( import . meta. url ) ( sassPath ) ;
2314
+ const sass : typeof Sass = createRequire ( import . meta. url ) ( sassPath )
2315
2315
compiler ??= await sass . initAsyncCompiler ( )
2316
2316
2317
2317
const sassOptions = { ...options } as Sass . StringOptions < 'async' >
@@ -2393,7 +2393,7 @@ const scssProcessor = (
2393
2393
const sassPackage = loadSassPackage ( root )
2394
2394
// TODO: change default in v6
2395
2395
// options.api ?? sassPackage.name === "sass-embedded" ? "modern-compiler" : "modern";
2396
- let api = options . api ?? 'legacy'
2396
+ const api = options . api ?? 'legacy'
2397
2397
2398
2398
if ( ! workerMap . has ( options . alias ) ) {
2399
2399
workerMap . set (
@@ -2437,7 +2437,6 @@ const scssProcessor = (
2437
2437
}
2438
2438
} catch ( e ) {
2439
2439
// normalize SASS error
2440
- console . error ( e ) ;
2441
2440
e . message = `[sass] ${ e . message } `
2442
2441
e . id = e . file
2443
2442
e . frame = e . formatted
You can’t perform that action at this time.
0 commit comments