gridsome-transformer-img
v0.0.11
Published
Transformer for image node
Downloads
35
Maintainers
Readme
gridsome-transformer-img
Images transformer for Gridsome with options for optimization loader.
Installation
yarn add gridsome-transformer-img
Usage
export default {
transformers: {
img: {
uploadOptions: {
folder: 'examples',
},
loader: {
type: 'cloudinary',
cloudName: process.env.CLOUDNAME,
apiKey: process.env.API_KEY,
apiSecret: process.env.API_SECRET,
}
}
}
}