Skip to content

Commit

Permalink
fix: vue loader plugin is es
Browse files Browse the repository at this point in the history
  • Loading branch information
xierenyuan committed Aug 20, 2024
1 parent f394f9d commit e5bcfb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-vue/src/features/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getConfig(config: Config, api: IApi) {

const VueLoaderPlugin = require('vue-loader/dist/pluginWebpack5');

config.plugin('vue-loader-plugin').use(VueLoaderPlugin);
config.plugin('vue-loader-plugin').use(VueLoaderPlugin.default);

// https://github.com/vuejs/vue-loader/issues/1435#issuecomment-869074949
config.module
Expand Down

0 comments on commit e5bcfb3

Please sign in to comment.