Skip to content

Commit 1afde14

Browse files
committed
fix: if user is not using a-la-carte, do not update transpileDependencies
fixes #129
1 parent 09e7bb6 commit 1afde14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generator/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ module.exports = (api, opts) => {
3636
if (!opts.installFonts) fonts.addLinks(api, opts.iconFont)
3737
vuetify.setHtmlLang(api, opts.locale)
3838

39-
// Update vue.config.js for transpileDependency
40-
vuetify.updateOrCreateVueConfig(api)
39+
// Update vue.config.js for transpileDependency if AlaCarte
40+
if (opts.useAlaCarte) vuetify.updateOrCreateVueConfig(api)
4141

4242
api.exitLog('Discord community: https://community.vuetifyjs.com')
4343
api.exitLog('Github: https://github.com/vuetifyjs/vuetify')

0 commit comments

Comments
 (0)