Skip to content

Commit 3585131

Browse files
committed
fix(helpers): properly return options if variables are not used
1 parent 9e1c987 commit 3585131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function mergeRules (api, opt, ext) {
4141
addImports(api, 'variables', data, end)
4242

4343
// If user isn't supplying variables, avoid prepending data
44-
if (!data.length) return
44+
if (!data.length) return opt
4545

4646
// Inject Vuetify styles at the end of user supplied
4747
data.push(`@import '~vuetify/src/styles/styles.sass${end}`)

0 commit comments

Comments
 (0)