We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c1beb commit b59dc36Copy full SHA for b59dc36
packages/unplugin-img-compress/src/runtime/build.ts
@@ -13,7 +13,7 @@ function webRspackHandler(
13
) {
14
compiler.hooks.emit.tapAsync('unplugin-img-compress', (
15
compilation: RspackCompilation | WebpackCompilation,
16
- callback) => {
+ callback: any) => {
17
ctx.dir = (compilation.outputOptions.path || './dist').replaceAll('\\', '/')
18
for (const filename in compilation.assets) {
19
if (/\.(png|jpg|jpeg|gif|svg)$/.test(filename)) {
0 commit comments