vite-tsconfig-paths
Advanced tools
Comparing version 4.0.8 to 4.0.9
@@ -191,3 +191,3 @@ "use strict"; | ||
} | ||
const options = config.compilerOptions; | ||
const options = config.compilerOptions || {}; | ||
const { baseUrl, paths } = options; | ||
@@ -194,0 +194,0 @@ if (!baseUrl && !paths) { |
{ | ||
"name": "vite-tsconfig-paths", | ||
"version": "4.0.8", | ||
"version": "4.0.9", | ||
"description": "Vite resolver for TypeScript compilerOptions.paths", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -154,3 +154,3 @@ import _debug from 'debug' | ||
exclude?: string[] | ||
compilerOptions: CompilerOptions | ||
compilerOptions?: CompilerOptions | ||
} | ||
@@ -171,3 +171,3 @@ | ||
const options = config.compilerOptions | ||
const options = config.compilerOptions || {} | ||
const { baseUrl, paths } = options | ||
@@ -174,0 +174,0 @@ if (!baseUrl && !paths) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
87883