node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

gatsby-plugin-copy-files

Specify absolute source path and relative destination path using plugin options.

{
    resolve: 'gatsby-plugin-copy-files',
    options: {
        source: `${__dirname}/src/public`,
        destination: ''
    }
},
{
    resolve: 'gatsby-plugin-copy-files',
    options: {
        source: `${__dirname}/src/images`,
        destination: '/images'
    }
}

Must be used with gatsby-source-filesystem.