1.1.0 • Published 2 years ago

gatsby-plugin-copy-files v1.1.0

Weekly downloads
2,127
License
MIT
Repository
github
Last release
2 years ago

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.