fix(Desktop): Fix periodic failure to open project window
Issue was due to an error being thrown due to a relative path for the
`main_window/index.js` chunk being injected into the HTML template.
This ensures that the path is always absolute, and hence gets correctly
resolved by the `appProtocol` handler.
@@ -15,6 +15,7 @@ module.exports = {
module: {
rules,
},
+ output: { chunkFilename: 'main_window/[name].chunk.js', publicPath: '/' },
plugins: [
...plugins,
new webpack.DefinePlugin({
