We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d11090 commit 0984ea3Copy full SHA for 0984ea3
1 file changed
src/webpack/loader.ts
@@ -61,7 +61,7 @@ export const loader = function (this: webpack.loader.LoaderContext, source: stri
61
const breakpointMedia = breakpointName === all ? null : getBreakpointMedia(breakpoints[order]);
62
63
// Получаем путь до картинки (outputImagePath = '/build/myImage/mobile.all-4b767a7b.png')
64
- const outputImagePath = source.replace(/^module.exports = (__webpack_public_path__ \+ )?"(.+)";$/, (_, _, imagePath) => imagePath);
+ const outputImagePath = source.replace(/^module.exports = (__webpack_public_path__ \+ )?"(.+)";$/, (a, b, imagePath) => imagePath);
65
66
let webpSrcSet: SrcSet, originalExtensionSrcSet: SrcSet, data: OrderedBreakpointSource;
67
// Отключает процессинг картинок, генерируется srcSet только для оригинального типа изображения
0 commit comments