Fix SyntaxError for {}.nextTick

This commit is contained in:
Jason Miller
2020-04-01 12:09:57 -04:00
committed by GitHub
parent 71b3c7dda2
commit 6b0a675469

View File

@@ -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`