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?
2
Answers
Have you tried this?
Eventually you can try with
to: './dist/assets/static/images'
Why don’t you adjust the to configuration slightly.