vite-plugin-checker
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -155,6 +155,4 @@ var __create = Object.create; | ||
buildStart: () => { | ||
if (viteMode !== "build") | ||
if (viteMode !== "build" || !enableBuild) | ||
return; | ||
if (!enableBuild) | ||
return; | ||
const localEnv = import_npm_run_path.default.env({ | ||
@@ -169,4 +167,5 @@ env: process.env, | ||
const exitCode = (_a2 = exitCodes.find((code) => code !== 0)) != null ? _a2 : 0; | ||
if (exitCode !== 0) | ||
if (exitCode !== 0 && !(resolvedConfig == null ? void 0 : resolvedConfig.build.watch)) { | ||
process.exit(exitCode); | ||
} | ||
})(); | ||
@@ -173,0 +172,0 @@ }, |
{ | ||
"name": "vite-plugin-checker", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "Vite plugin that runs TypeScript type checker on a separate process.", | ||
@@ -45,3 +45,3 @@ "main": "lib/main.js", | ||
"peerDependencies": { | ||
"vite": "^2.0.0" | ||
"vite": ">=2" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
304126
4436