mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Fix SyntaxError for {}.nextTick
This commit is contained in:
@@ -268,7 +268,7 @@ module.exports = async function (_, env) {
|
||||
VERSION: JSON.stringify(VERSION),
|
||||
// We set node.process=false later in this config.
|
||||
// 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`
|
||||
|
||||
Reference in New Issue
Block a user