Javascript – How to use CopyWebpackPlugin to copy static assets
I'm using this configuration pattern: new CopyWebpackPlugin({ patterns: [{ from: `src/assets/static/**/*`, to: 'dist', }] }) But this results to from -> src/assets/static/images to-> dist/src/assets/static/images Expected Output: from -> src/assets/static/images to-> dist/assets/static/images Can anyone point out what am I doing wrong?