Skip to content

Commit

Permalink
Install and configure gatsby-remark-copy-linked-files #81
Browse files Browse the repository at this point in the history
  • Loading branch information
mstenta committed May 20, 2023
1 parent 8ef1a99 commit be7351b
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 7 deletions.
6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ module.exports = {
options: {
plugins: [
...transformerRemarkPlugins,
{
resolve: 'gatsby-remark-copy-linked-files',
options: {
destinationDir: f => `static/${f.hash}/${f.name}`
},
},
{
resolve: 'gatsby-remark-images',
options: {
Expand Down
179 changes: 172 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"gatsby-plugin-sharp": "^3.14.3",
"gatsby-plugin-sitemap": "^4.10.0",
"gatsby-remark-autolink-headers": "^4.11.0",
"gatsby-remark-copy-linked-files": "^3.2.0",
"gatsby-remark-images": "^4.2.0",
"gatsby-remark-prismjs": "^5.11.0",
"gatsby-source-filesystem": "^3.14.0",
Expand Down

0 comments on commit be7351b

Please sign in to comment.