@pezkuwi/dev 0.85.9 → 0.85.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -446,7 +446,7 @@ function buildDeno () {
|
|
|
446
446
|
*/
|
|
447
447
|
function relativePath (value) {
|
|
448
448
|
if (!value || typeof value !== 'string') {
|
|
449
|
-
return
|
|
449
|
+
return '';
|
|
450
450
|
}
|
|
451
451
|
return value.startsWith('.') ? value : `./${value}`;
|
|
452
452
|
}
|
|
@@ -646,7 +646,7 @@ function findFiles (buildDir, extra = '', exclude = []) {
|
|
|
646
646
|
.readdirSync(currDir)
|
|
647
647
|
.filter((f) => !exclude.includes(f))
|
|
648
648
|
.reduce((/** @type {[string, Record<String, unknown> | string][]} */ all, jsName) => {
|
|
649
|
-
const jsPath = `${extra}/${jsName}
|
|
649
|
+
const jsPath = extra ? `${extra}/${jsName}` : jsName;
|
|
650
650
|
const fullPathEsm = path.join(buildDir, jsPath);
|
|
651
651
|
|
|
652
652
|
if (fs.statSync(fullPathEsm).isDirectory()) {
|