gatsby image plugin
Shell
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:
- Title
- pyinstaller sklearn
- Category
- Shell
- Title
- cordova ios emulators
- Category
- Shell
- Title
- sudo apt get install tomcat 9
- Category
- Shell
- Title
- git stash command with name
- Category
- Shell
- Title
- ufw allow port
- Category
- Shell
- Title
- github undo last pushed commit
- Category
- Shell
- Title
- npm install --global vue-cli
- Category
- Shell
- Title
- install seaborn
- Category
- Shell
- Title
- ubuntu intall OpenBLAS
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- How to revert uncommitted changes including files and folders?
- Category
- Shell
- Title
- install axios
- Category
- Shell
- Title
- vagrant 16
- Category
- Shell
- Title
- create next js app
- Category
- Shell
- Title
- how to rename working directory in linux
- Category
- Shell
- Title
- réinstaller interface graphique debian
- Category
- Shell
- Title
- linux rsync example
- Category
- Shell
- Title
- shell script variable
- Category
- Shell
- Title
- powershell get all computers in ou
- Category
- Shell
- Title
- install node js ubuntu
- Category
- Shell
- Title
- composer drupal install
- Category
- Shell
- Title
- Documentazione relativa a Sottosistema di Windows per Linux
- Category
- Shell
- Title
- vim compare 2 files
- Category
- Shell
- Title
- enzyme npm install
- Category
- Shell
- Title
- start a local SMTP debugging server in linux
- Category
- Shell
- Title
- configure samba on RPI
- Category
- Shell
- Title
- remove git tracking
- Category
- Shell
- Title
- how to get mac cpu temp
- Category
- Shell
- Title
- virtualbox kernel driver not installed ubuntu
- Category
- Shell
- Title
- long term projects for java learners
- Category
- Shell
- Title
- use nvm to install latest node
- Category
- Shell
- Title
- git ignore node_modules
- Category
- Shell
- Title
- pod install ruby: bad interpreter: No such file or directory
- Category
- Shell
- Title
- linux find file containing text
- Category
- Shell
- Title
- Failed to set up listener: SocketException: Address already in use
- Category
- Shell
- Title
- how to put files into gitignore
- Category
- Shell
- Title
- git push tags
- Category
- Shell
- Title
- install laravel on windows
- Category
- Shell
- Title
- linux how to see ports in use
- Category
- Shell
- Title
- create exe installer
- Category
- Shell
- Title
- github compare commits
- Category
- Shell
- Title
- install redux-thunk
- Category
- Shell
- Title
- git remove from from repo and stop tracking
- Category
- Shell
- Title
- grep
- Category
- Shell
- Title
- how to change password in linux
- Category
- Shell
- Title
- How to download Citrix Workspace for Ubuntu
- Category
- Shell
- Title
- files not showing in ubuntu
- Category
- Shell
- Title
- How to Install a LAMP stack on a Linode Server
- Category
- Shell
- Title
- react native expo project in github e commerce
- Category
- Shell
- Title
- git copy file from another branch
- Category
- Shell
- Title
- authentication failed github
- Category
- Shell
- Title
- install gatsby typography
- Category
- Shell
- Title
- linux head command
- Category
- Shell
- Title
- WSL connect docker daemon to docker for windows
- Category
- Shell
- Title
- how to check installed apps in ubuntu
- Category
- Shell
- Title
- git checkout someone else's branch
- Category
- Shell
- Title
- how to avoid some files changes to not come in git status
- Category
- Shell
- Title
- Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd
- Category
- Shell
- Title
- gunicorn launch django cmd
- Category
- Shell
- Title
- install dependencies @material-ui/lab/Rating
- Category
- Shell
- Title
- git delete all branches except master
- Category
- Shell
- Title
- [mysqld] ubuntu 18
- Category
- Shell
- Title
- generate ssh key paitr
- Category
- Shell
- Title
- pip install bs4 pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org
- Category
- Shell
- Title
- rename local branch github
- Category
- Shell
- Title
- linux compress a pdf
- Category
- Shell
- Title
- optional argument bash
- Category
- Shell
- Title
- set default java version
- Category
- Shell
- Title
- shell promt user input
- Category
- Shell
- Title
- move all subfolders to parent folder linux
- Category
- Shell
- Title
- brew services start mongodb
- Category
- Shell
- Title
- create github repo with bash
- Category
- Shell
- Title
- install mvc 5.2.4 nugget console
- Category
- Shell
- Title
- git reset keep changes
- Category
- Shell
- Title
- IP adress terminal
- Category
- Shell
- Title
- bash copy
- Category
- Shell
- Title
- /usr/local/share/doc/node is not writable.
- Category
- Shell
- Title
- github show files changed git log
- Category
- Shell
- Title
- how to save any changes in vi editor
- Category
- Shell
- Title
- git push crontab
- Category
- Shell
- Title
- linux external hard drive chmod
- Category
- Shell
- Title
- docker install ubuntu
- Category
- Shell
- Title
- Error: ENOSPC: System limit for number of file watchers reached
- Category
- Shell
- Title
- restore deleted branch git
- Category
- Shell
- Title
- powershell foreach
- Category
- Shell
- Title
- how to create a patch file between 2 branches git
- Category
- Shell
- Title
- install react yarn
- Category
- Shell
- Title
- bash measure execution time
- Category
- Shell
- Title
- php apache "You do not have permission to use at.
- Category
- Shell
- Title
- how to search a particular gist in github
- Category
- Shell
- Title
- Creating an environment from an environment.yml file
- Category
- Shell
- Title
- install drush on windoes 10
- Category
- Shell
- Title
- install nginx ubuntu 18.04
- Category
- Shell
- Title
- Unexpected end of JSON input while parsing near '...reate-hmac-1.1.2.tgz"'
- Category
- Shell
- Title
- boot maker for ubuntu
- Category
- Shell
- Title
- install jquery
- Category
- Shell
- Title
- Why are there two ways to unstage a file in Git?
- Category
- Shell
- Title
- git reset origin
- Category
- Shell
- Title
- unable to install all modules vmware
- Category
- Shell
- Title
- check 64 or 32 bit linux
- Category
- Shell