pull/391/head
王良 1 week ago
parent dd91d95051
commit 8bb2d62c45

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

Loading…
Cancel
Save