George
2
Q:

gatsby image

const path = require(`path`)

module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: path.join(__dirname, `src`, `images`),
      },
    },
    `gatsby-plugin-sharp`,
    `gatsby-transformer-sharp`,
  ],
}
1
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp
1

Tags

New to Communities?

Join the community