Reputation: 41
I'm trying to switch from grunt to webpack. In grunt, we have a task that copies folders from build to a different folder using a relative path. This tasks runs after all the files have been built and are in the build folder. We do this for dev purposes.
I cannot seem to find a plugin that will copy folders from build to a different folder. I have seen the copy-webpack-plugin, but it seems it only moves files/folders to the build folder. Does anyone have any suggestions? Thank you.
Upvotes: 1
Views: 2484
Reputation: 18476
You can try https://github.com/gregnb/filemanager-webpack-plugin, it has onEnd
option which allows to do stuff after build
Upvotes: 2