Hello 馃憢
Would be possible to change the renderer process file name and path, like how we can with the main by using mainProcessFile config option?
I tried to look into the source, but couldn't find a sane way to do it.
Thanks in advance!
Almost all of the renderer process config is handled by vue-cli, just like your regular build. You will have to set it through the chainWebpack option in vue.config.js. I think this will work, but I am not sure (will test later today):
// vue.config.js
module.exports = {
chainWebpack: (config) => {
config.entry('app').clear().add('path to entry file')
}
}
Thanks, that did the trick!
Most helpful comment
Almost all of the renderer process config is handled by vue-cli, just like your regular build. You will have to set it through the
chainWebpackoption invue.config.js. I think this will work, but I am not sure (will test later today):