minor
This commit is contained in:
parent
8191de2a17
commit
efb4b2566f
|
@ -44,8 +44,11 @@ const mainConfig = {
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.ts', '.js']
|
extensions: ['.ts', '.js']
|
||||||
}
|
},
|
||||||
}, rendererConfig = {
|
optimization: {
|
||||||
|
minify: false,
|
||||||
|
},
|
||||||
|
}, rendererConfig = {
|
||||||
entry: {
|
entry: {
|
||||||
chat: [path.join(__dirname, 'chat.ts'), path.join(__dirname, 'index.html')],
|
chat: [path.join(__dirname, 'chat.ts'), path.join(__dirname, 'index.html')],
|
||||||
window: [path.join(__dirname, 'window.ts'), path.join(__dirname, 'window.html'), path.join(__dirname, 'build', 'tray@2x.png')],
|
window: [path.join(__dirname, 'window.ts'), path.join(__dirname, 'window.html'), path.join(__dirname, 'build', 'tray@2x.png')],
|
||||||
|
@ -152,7 +155,8 @@ const mainConfig = {
|
||||||
// alias: {qs: 'querystring'}
|
// alias: {qs: 'querystring'}
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
splitChunks: {chunks: 'all', minChunks: 2, name: 'common'}
|
splitChunks: {chunks: 'all', minChunks: 2, name: 'common'},
|
||||||
|
minify: false,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -187,6 +191,10 @@ const storeWorkerEndpointConfig = _.assign(
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
optimization: {
|
||||||
|
minify: false,
|
||||||
|
},
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
new ForkTsCheckerWebpackPlugin({
|
new ForkTsCheckerWebpackPlugin({
|
||||||
async: false,
|
async: false,
|
||||||
|
|
Loading…
Reference in New Issue