From c084433ef41cd93149834b70c08886848eddb151 Mon Sep 17 00:00:00 2001 From: koalasat Date: Tue, 12 Aug 2025 14:45:47 +0200 Subject: [PATCH] Another try 3 --- frontend/webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webpack.config.ts b/frontend/webpack.config.ts index 9685126b..2ca0236a 100644 --- a/frontend/webpack.config.ts +++ b/frontend/webpack.config.ts @@ -139,7 +139,7 @@ const configNode = (env: any, argv: { mode: string }): Configuration => { { apply: (compiler: Compiler) => { - compiler.hooks.emit.tapAsync('CopyFilesPlugin', (compilation, callback) => { + compiler.hooks.afterEmit.tapAsync('CopyFilesPlugin', (compilation, callback) => { Promise.all( outputPaths.map((outputPath) => { const sourceDir = path.resolve(__dirname, sourceBuild);