Copy custom _redirects file to /dist

Hi there,

I want to add _redirects file to my gridsome project so i used cp command for package.json to copy to /dist but it doesn’t work for netlify? I got no error msg.

Any idea how I can use simple _redirects file for my project?

I fixed it :slight_smile: used hook beforeBuild from gridsome to copy the file. This means we can even have dynamic redirects file from api (wordpress) :slight_smile:

1 Like