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 38ef2e0 commit ca70ea8Copy full SHA for ca70ea8
index.js
@@ -121,7 +121,7 @@ function setWebpackOptions (api, options) {
121
return regex.replace('\\\\', '\\')
122
}
123
let stringConfig = JSON.stringify(config, replacer).replace(
124
- /("__REGEXP)(.+?)(")(?=,)/,
+ /("__REGEXP)(.+?)(")(?=,?)/g,
125
toRegex
126
)
127
if (!fs.existsSync(api.resolve('.') + '/dist_electron')) {
0 commit comments