Update installation instructions
[vchess.git] / client / vue.config.js
index bdf54dc..63b0e4b 100644 (file)
@@ -1,3 +1,10 @@
 module.exports = {
-  lintOnSave: false
+  lintOnSave: false,
+  configureWebpack: {
+    output: {
+      // Fix "window is not defined" issues with web worker.
+      // https://github.com/webpack/webpack/issues/6642
+      globalObject: "this"
+    }
+  }
 };