mirror of https://gitee.com/antv-l7/antv-l7
f7e5376b7d | ||
---|---|---|
.. | ||
node_modules/fs-extra | ||
LICENSE | ||
README.md | ||
gatsby-node.js | ||
package.json |
README.md
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
.