diff --git a/packages/gui/vue.config.js b/packages/gui/vue.config.js index 14b35db..846cb50 100644 --- a/packages/gui/vue.config.js +++ b/packages/gui/vue.config.js @@ -15,24 +15,22 @@ module.exports = { title: 'DevSidecar-给开发者的边车辅助工具', }, }, - configureWebpack: (config) => { - return { - plugins: [ - new webpack.DefinePlugin({ 'global.GENTLY': true }), - ], - module: { - rules: [ - { - test: /\.json5$/i, - loader: 'json5-loader', - options: { - esModule: false, - }, - type: 'javascript/auto', + configureWebpack: { + plugins: [ + new webpack.DefinePlugin({ 'global.GENTLY': true }), + ], + module: { + rules: [ + { + test: /\.json5$/i, + loader: 'json5-loader', + options: { + esModule: false, }, - ], - }, - } + type: 'javascript/auto', + }, + ], + }, }, pluginOptions: { electronBuilder: {