We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d466430 commit f1f1088Copy full SHA for f1f1088
generator/index.js
@@ -45,8 +45,8 @@ module.exports = (api, options = {}) => {
45
'process.env.WEBPACK_DEV_SERVER_URL as string)'
46
)
47
background = background.replace(
48
- /let mainWindow\s*?$/m,
49
- 'let mainWindow: any'
+ /let win\s*?$/m,
+ 'let win: any'
50
51
fs.writeFileSync(api.resolve('./src/background.ts'), background)
52
if (api.hasPlugin('router')) {
0 commit comments