forked from external-repos/squoosh
Avoid redundant empty file
This commit is contained in:
@@ -110,6 +110,7 @@ export default async function ({ watch }) {
|
|||||||
replace({ __PRERENDER__: false, __PRODUCTION__: isProduction }),
|
replace({ __PRERENDER__: false, __PRODUCTION__: isProduction }),
|
||||||
terser({ module: true }),
|
terser({ module: true }),
|
||||||
],
|
],
|
||||||
|
preserveEntrySignatures: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dir,
|
dir,
|
||||||
|
|||||||
@@ -527,7 +527,6 @@ export default class Compress extends Component<Props, State> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!jobNeeded) return;
|
if (!jobNeeded) return;
|
||||||
console.log('Processing');
|
|
||||||
|
|
||||||
const mainSignal = this.mainAbortController.signal;
|
const mainSignal = this.mainAbortController.signal;
|
||||||
const sideSignals = this.sideAbortControllers.map((ac) => ac.signal);
|
const sideSignals = this.sideAbortControllers.map((ac) => ac.signal);
|
||||||
|
|||||||
Reference in New Issue
Block a user