We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a767aec commit 2ccbb37Copy full SHA for 2ccbb37
lib/loaders/index.js
@@ -93,7 +93,11 @@ const getHandledImageTypes = (nextConfig) => {
93
* @returns {number}
94
*/
95
const getNumOptimizationLoadersInstalled = loaders => Object.values(loaders)
96
- .filter(loader => loader && (loader.startsWith('imagemin-') || loader.startsWith('webp-'))).length;
+ .filter(loader => loader && (
97
+ loader.startsWith('imagemin-')
98
+ || loader.startsWith('webp-')
99
+ || loader.startsWith('lqip-')
100
+ )).length;
101
102
/**
103
* Appends all loaders to the webpack configuration
0 commit comments