Andrejs Abrickis
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:

  1. I've installed grunt-contrib-copy plugin which handles file copying
  2. 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!

--

--

Andrejs Abrickis
Andrejs Abrickis

No responses yet