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