Comparing version 0.12.10 to 0.12.11
@@ -86,3 +86,3 @@ import path from "node:path" | ||
(await Promise.all( | ||
(await glob("**/{css,js,images}/*.*", "./src")) | ||
(await glob("**/{css,js,images}/**/*.*", "./src")) | ||
.map(async x => { | ||
@@ -89,0 +89,0 @@ let ext = path.extname(x) |
@@ -43,3 +43,5 @@ import { glob as Glob, mkdir, writeFile } from "node:fs/promises" | ||
for await (const file of Glob(`**/${parsed.dir}/${parsed.name}.*${ext}`, { cwd: targetDirectory })) { | ||
return file | ||
if (file.startsWith(parsed.dir)) { | ||
return file | ||
} | ||
} | ||
@@ -46,0 +48,0 @@ } |
{ | ||
"name": "@jon49/sw", | ||
"version": "0.12.10", | ||
"version": "0.12.11", | ||
"description": "Packages for MVC service workers.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
35479
986