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!

Writing JS, TS, Vue, #C, and fostering teams to release customer value n-times a day. Creator of billid.app and writer on abrickis.me

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store