vite-plugin-checker
Advanced tools
Comparing version 0.4.4-beta.3 to 0.4.4-beta.4
@@ -41,3 +41,3 @@ "use strict"; | ||
const vueTscFlagFile = path_1.default.resolve(targetTsDir, 'vue-tsc-resolve-path'); | ||
let shouldPrepare = false; | ||
let shouldPrepare = true; | ||
const targetDirExist = fs_1.default.existsSync(targetTsDir); | ||
@@ -48,5 +48,5 @@ if (targetDirExist) { | ||
// check fixture versions before re-use | ||
if (targetTsVersion !== currTsVersion || | ||
!fs_1.default.existsSync(vueTscFlagFile) || | ||
fs_1.default.readFileSync(vueTscFlagFile, 'utf8') !== proxyPath) { | ||
if (targetTsVersion === currTsVersion && | ||
fs_1.default.existsSync(vueTscFlagFile) && | ||
fs_1.default.readFileSync(vueTscFlagFile, 'utf8') === proxyPath) { | ||
shouldPrepare = true; | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "vite-plugin-checker", | ||
"version": "0.4.4-beta.3", | ||
"version": "0.4.4-beta.4", | ||
"description": "Vite plugin that runs TypeScript type checker on a separate process.", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173315