1 min readJun 14, 2018
Hi Prateek.
Thanks for your question. I have updated the example repository on github see thehttps://github.com/AndrejsAbrickis/bye-bye-bower/pull/1 which contains the changes. It should be clear from it how to implement a grunt task.
In few words:
- I've installed
grunt-contrib-copy
plugin which handles file copying - I've added a grunt copy task see the following code block
copy: {
main: {
files: Assets.map((asset) => {
return {
src: `./node_modules/${asset}`,
dest: `public_assets/3rd-party-assets-grunt/${asset}`
}
})
},
},
I hope this helped you.
Cheers!