Skip to content

Commit

Permalink
fix(helpers): properly return options if variables are not used
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Nov 5, 2019
1 parent 9e1c987 commit 3585131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function mergeRules (api, opt, ext) {
addImports(api, 'variables', data, end)

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

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

0 comments on commit 3585131

Please sign in to comment.