projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Slightly improve rules 'end of game' sections
[vchess.git]
/
client
/
vue.config.js
diff --git
a/client/vue.config.js
b/client/vue.config.js
index
bdf54dc
..
63b0e4b
100644
(file)
--- a/
client/vue.config.js
+++ b/
client/vue.config.js
@@
-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"
+ }
+ }
};