vite-plugin-utils
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -56,3 +56,3 @@ import fs from 'node:fs'; | ||
} | ||
if (!relative.startsWith('.')) { | ||
if (!relative.startsWith('./') || !relative.startsWith('.\\')) { | ||
return './' + relative; | ||
@@ -59,0 +59,0 @@ } |
@@ -65,3 +65,3 @@ import fs from 'node:fs' | ||
} | ||
if (!relative.startsWith('.')) { | ||
if (!relative.startsWith('./') || !relative.startsWith('.\\')) { | ||
return './' + relative | ||
@@ -68,0 +68,0 @@ } |
{ | ||
"name": "vite-plugin-utils", | ||
"description": "A collection of opinionated Vite plugin utils", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "", |
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
29230
10
881