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 d5b8c21 commit ea0d151Copy full SHA for ea0d151
scripts/package.ts
@@ -150,7 +150,7 @@ async function main() {
150
if (args.debug) {
151
await fs.copy(webpackConfigJsFile, backupWebpackConfigFile)
152
const webpackConfigJs = await fs.readFileText(webpackConfigJsFile)
153
- await fs.copy(webpackConfigJsFile, webpackConfigJs.replace(/minimize: true/, 'minimize: false'))
+ await fs.writeFile(webpackConfigJsFile, webpackConfigJs.replace(/minimize: true/, 'minimize: false'))
154
}
155
156
0 commit comments