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

Commit a029a72

Browse files
authored
Merge pull request #51 from LinusBorg/LinusBorg-chainWebpack
Use chainWebpack instead of configureWebpack to add Loader plugin
2 parents 4e3c1e8 + f166142 commit a029a72

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ module.exports = (api) => {
1212
.rule('js')
1313
.include
1414
.add(api.resolve('node_modules/vuetify'))
15-
})
16-
17-
api.configureWebpack(webpackConfig => {
18-
webpackConfig.plugins.push(new VuetifyLoaderPlugin())
15+
16+
config.plugin('VuetifyLoaderPlugin')
17+
.use(VuetifyLoaderPlugin)
1918
})
2019
}
2120
}

0 commit comments

Comments
 (0)