fix: patch threads to work with production build

(cherry picked from commit 4da56bb0fe509c4cb0c4bb6e560b4383f185bf45)
This commit is contained in:
鲁树人
2021-12-15 14:02:43 +00:00
parent 0a52d2a20b
commit f80cf29657
3 changed files with 247 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
},
"private": true,
"scripts": {
"postinstall": "patch-package",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test": "jest",
@@ -42,6 +43,7 @@
"@vue/cli-service": "^4.5.13",
"babel-plugin-component": "^1.1.1",
"jest": "^27.4.5",
"patch-package": "^6.4.7",
"sass": "^1.38.1",
"sass-loader": "^10.2.0",
"semver": "^7.3.5",