Another try 3

This commit is contained in:
koalasat
2025-08-12 14:45:47 +02:00
parent 503afd4f06
commit c084433ef4

View File

@ -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);