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

@ -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: {

Loading…
Cancel
Save