@jacobmischka/gatsby-plugin-copy-files

1.0.0 • Public • Published

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

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

Must be used with gatsby-source-filesystem.

Readme

Keywords

none

Package Sidebar

Install

npm i @jacobmischka/gatsby-plugin-copy-files

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jacobmischka