UNPKG

gatsby-source-wordpress

Version:

Source data from WordPress in an efficient and scalable way.

12 lines (9 loc) 213 B
module.exports = ({ catchLinks = true }) => { const plugins = [`gatsby-plugin-image`, `gatsby-plugin-sharp`] if (catchLinks) { plugins.push(`gatsby-plugin-catch-links`) } return { plugins, } }