Created
April 12, 2021 00:24
-
-
Save eugenehp/9f62c3c197ef65d2e1984dff55c8838b to your computer and use it in GitHub Desktop.
gatsby-source-medium-backup integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const markdownPages = `${__dirname}/src/markdown-pages` | |
module.exports = { | |
plugins: [ | |
{ | |
resolve: `gatsby-source-medium-backup`, | |
options: { | |
source: `${__dirname}/medium-export.zip`, | |
destination: markdownPages, | |
}, | |
}, | |
// markdown | |
{ | |
resolve: `gatsby-source-filesystem`, | |
options: { | |
path: markdownPages, | |
name: `markdown-pages`, | |
}, | |
}, | |
`gatsby-transformer-remark`, | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment