Skip to content
/ bud Public

Commit 3d2078c

Browse files
authored
🩹 fix(patch): sass-loader resolve (#2413)
Fixes a problem which could prevent sass-loader from resolving correctly. ## Type of change **PATCH: backwards compatible change**
1 parent 0afbbd5 commit 3d2078c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/@roots/bud-sass/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class BudSass extends BudSassOptions {
4141
@bind
4242
public override async register({build, hooks}: Bud) {
4343
/** Source loader */
44-
const loader = await this.resolve(`sass-loader`)
44+
const loader = await this.resolve(`sass-loader`, import.meta.url)
4545
if (!loader) return this.logger.error(`sass-loader not found`)
4646

4747
/** Source sass implementation */

0 commit comments

Comments
 (0)