Skip to content

Commit 03cd9a1

Browse files
committed
chore: fix tests
1 parent c04d12c commit 03cd9a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/compiler-sfc/src/style/preprocessors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface StylePreprocessorResults {
2424

2525
// .scss/.sass processor
2626
const scss: StylePreprocessor = (source, map, options, load = require) => {
27+
const { pathToFileURL, fileURLToPath } = load('url')
2728
const nodeSass = load('sass') as typeof import('sass')
2829
const data = getSource(source, options.filename, options.additionalData)
2930
const finalOptions: import('sass').StringOptions<'sync'> = {

0 commit comments

Comments
 (0)