Answers for "gatsby image"

1

gatsby image

npm install --save gatsby-transformer-sharp gatsby-plugin-sharp
Posted by: Guest on May-30-2020
1

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`,
  ],
}
Posted by: Guest on May-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language