mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 00:37:19 +00:00
Fix SyntaxError for {}.nextTick
This commit is contained in:
@@ -268,7 +268,7 @@ module.exports = async function (_, env) {
|
|||||||
VERSION: JSON.stringify(VERSION),
|
VERSION: JSON.stringify(VERSION),
|
||||||
// We set node.process=false later in this config.
|
// We set node.process=false later in this config.
|
||||||
// Here we make sure if (process && process.foo) still works:
|
// Here we make sure if (process && process.foo) still works:
|
||||||
process: '{}'
|
process: '({})'
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// Copying files via Webpack allows them to be served dynamically by `webpack serve`
|
// Copying files via Webpack allows them to be served dynamically by `webpack serve`
|
||||||
|
|||||||
Reference in New Issue
Block a user