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