From 49671ca69227c88088ac081ed2e8c0e314db82cb Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sat, 22 May 2021 18:29:02 +0900 Subject: [PATCH] Fix ts-loader version to 8.3.0 for webpack 4 --- package.json | 2 +- src/renderer/main.ts | 2 +- yarn.lock | 33 +++++++++++++++------------------ 3 files changed, 17 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 0ff525da..65027cb6 100644 --- a/package.json +++ b/package.json @@ -290,7 +290,7 @@ "stylelint": "^13.13.1", "stylelint-config-standard": "^20.0.0", "ts-jest": "^26.5.1", - "ts-loader": "^9.2.1", + "ts-loader": "^8.3.0", "ttfinfo": "^0.2.0", "typescript": "^4.2.4", "url-loader": "^4.1.1", diff --git a/src/renderer/main.ts b/src/renderer/main.ts index 69a0ca79..4089af3a 100644 --- a/src/renderer/main.ts +++ b/src/renderer/main.ts @@ -3,7 +3,7 @@ import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' import locale from 'element-ui/lib/locale/lang/en' import 'vue-awesome/icons' -import Icon from 'vue-awesome/components/Icon.vue' +import Icon from 'vue-awesome/components/Icon' import Popper from 'vue-popperjs' import 'vue-popperjs/dist/vue-popper.css' import { sync } from 'vuex-router-sync' diff --git a/yarn.lock b/yarn.lock index 965ce97e..e9880591 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5142,6 +5142,15 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" +enhanced-resolve@^4.0.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" + integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== + dependencies: + graceful-fs "^4.1.2" + memory-fs "^0.5.0" + tapable "^1.0.0" + enhanced-resolve@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz#3b806f3bfafc1ec7de69551ef93cca46c1704126" @@ -5151,14 +5160,6 @@ enhanced-resolve@^4.3.0: memory-fs "^0.5.0" tapable "^1.0.0" -enhanced-resolve@^5.0.0: - version "5.8.2" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz#15ddc779345cbb73e97c611cd00c01c1e7bf4d8b" - integrity sha512-F27oB3WuHDzvR2DOGNTaYy0D5o0cnrv8TeI482VM4kYgQd/FT9lUQwuNsJ0oOHtBUq7eiW5ytqzp7nBFknL+GA== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - enquirer@^2.3.5, enquirer@^2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" @@ -12611,11 +12612,6 @@ tapable@^1.0.0, tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tapable@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.0.tgz#5c373d281d9c672848213d0e037d1c4165ab426b" - integrity sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw== - tar@^6.0.2: version "6.0.5" resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.5.tgz#bde815086e10b39f1dcd298e89d596e1535e200f" @@ -12931,13 +12927,14 @@ ts-jest@^26.5.1: semver "7.x" yargs-parser "20.x" -ts-loader@^9.2.1: - version "9.2.1" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.2.1.tgz#5699af8d10aa3a763aadfced1d4b275a432b76eb" - integrity sha512-BLfLa4paMQyf819haKxxbZqA1aLDqsk8XEZLmd7E1eBa0NsEHYFcTWlUlPmYMGhvD/IMi0NcIW3A/G7vzr3oiA== +ts-loader@^8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-8.3.0.tgz#83360496d6f8004fab35825279132c93412edf33" + integrity sha512-MgGly4I6cStsJy27ViE32UoqxPTN9Xly4anxxVyaIWR+9BGxboV4EyJBGfR3RePV7Ksjj3rHmPZJeIt+7o4Vag== dependencies: chalk "^4.1.0" - enhanced-resolve "^5.0.0" + enhanced-resolve "^4.0.0" + loader-utils "^2.0.0" micromatch "^4.0.0" semver "^7.3.4"