vite-tsconfig-paths
Advanced tools
Comparing version 3.3.3 to 3.3.4
@@ -206,3 +206,3 @@ "use strict"; | ||
function compileGlob(glob) { | ||
return globRex(glob + (glob.endsWith('*') ? '' : '**/*'), { | ||
return globRex(glob + (glob.endsWith('*') ? '' : '/**/*'), { | ||
extended: true, | ||
@@ -209,0 +209,0 @@ }).regex; |
{ | ||
"name": "vite-tsconfig-paths", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"description": "Vite resolver for TypeScript compilerOptions.paths", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -73,2 +73,12 @@ # vite-tsconfig-paths | ||
### Troubleshooting | ||
The `DEBUG` environment variable can be used to figure out why this plugin isn't working as you may have expected. | ||
```sh | ||
DEBUG=vite-tsconfig-paths yarn vite | ||
``` | ||
| ||
## Donate | ||
@@ -75,0 +85,0 @@ |
@@ -188,3 +188,3 @@ import { dirname, posix, isAbsolute } from 'path' | ||
function compileGlob(glob: string) { | ||
return globRex(glob + (glob.endsWith('*') ? '' : '**/*'), { | ||
return globRex(glob + (glob.endsWith('*') ? '' : '/**/*'), { | ||
extended: true, | ||
@@ -191,0 +191,0 @@ }).regex |
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
31741
90