vite-tsconfig-paths
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -65,3 +65,3 @@ "use strict"; | ||
var checkJs = loadCompilerOptions(config.configFileAbsolutePath).checkJs; | ||
var importerExtRE_1 = checkJs ? /\.(vue|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/; | ||
var importerExtRE_1 = checkJs ? /\.(vue|svelte|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/; | ||
var resolved_1 = new Map(); | ||
@@ -68,0 +68,0 @@ this.resolveId = function (id, importer) { |
{ | ||
"name": "vite-tsconfig-paths", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Vite resolver for TypeScript compilerOptions.paths", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -48,3 +48,3 @@ import { normalizePath, Plugin } from 'vite' | ||
const { checkJs } = loadCompilerOptions(config.configFileAbsolutePath) | ||
const importerExtRE = checkJs ? /\.(vue|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/ | ||
const importerExtRE = checkJs ? /\.(vue|svelte|mdx|mjs|[jt]sx?)$/ : /\.tsx?$/ | ||
@@ -51,0 +51,0 @@ const resolved = new Map<string, string>() |
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
15315