gatsby image plugin
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`,
],
}npm install --save gatsby-transformer-sharp gatsby-plugin-sharpnpm install --save gatsby-transformer-sharp gatsby-plugin-sharp
# Yarn
yarn add gatsby-transformer-sharp gatsby-plugin-sharp
# gatsby-config.json
plugins: [`gatsby-transformer-sharp`, `gatsby-plugin-sharp`]
Also in Shell:
- "at" ubuntu script dschedule
- how to check which packages homebrew has installed
- how to install pipenv
- git log display files changed
- git push existing code to new repository
- how to list all the available versionb for installation ubuntu
- git config --global credential.helper osxkeychain
- install kubernetes on ubuntu
- npm install react
- IP adress terminal
- centos copy files ssh
- seti for ubuntu
- create a repo using github api
- choco installation
- ask ubuntu
- how to view hidden files in mac terminal
- command to know disk ussage in ec2 instance
- which user apache runs as ubntu
- service dead but pid file exists
- fork and branch workflow
- shell copy
- list of files in git commit
- linux os update
- git file history