Open
Description
Hi,
First off, great module! 👍
I've been struggeling to get the forceGenerateImages
feature to work.
Some relevant info:
- Running nuxt version 2.0.0
- Running nuxt-image-loader-module version 1.3.0
- Running nuxt in 'universal' mode
I've got the following settings:
['@reallifedigital/nuxt-image-loader-module', {
imagesBaseDir: 'images',
imageStyles: {
placeholder: { actions: ['gravity|Center', 'resize|60', 'quality|40' ] },
thumbnail: { actions: ['gravity|Center', 'resize|480|270', 'quality|95'] },
},
forceGenerateImages: {
// imageStyle: globPattern
placeholder: '**/*'
}
}]
I want all placeholders
to be generated at build time. I've tried running build and generate, but nothing seems to trigger forceGenerateImages
.
In other words, all images are only generated run time (per request).
At which step (build, start, generate) is this supposed to happen?
Am I missing somthing?
Hope you can help :)
Metadata
Metadata
Assignees
Labels
No labels