Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 6e14328

Browse files
authored
fix(sass-loader): prependData removed from v9 (#185)
1 parent 636d5a0 commit 6e14328

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/vue-cli-plugin-vuetify/util/helpers.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,15 @@ function mergeRules (api, opt, ext) {
5656
if (opt.data) data.unshift(opt.data)
5757

5858
opt.data = data.join('\n')
59-
} else {
59+
} else if (sassLoaderVersion < 9) {
6060
if (opt.prependData) data.unshift(opt.prependData)
6161

6262
opt.prependData = data.join('\n')
63-
}
63+
} else {
64+
if (opt.additionalData) data.unshift(opt.additionalData);
6465

66+
opt.additionalData = data.join('\n');
67+
}
6568
return opt
6669
}
6770

0 commit comments

Comments
 (0)