@pure-ds/core 0.5.55 → 0.5.56
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
|
@@ -449,7 +449,10 @@ async function main(options = {}) {
|
|
|
449
449
|
|
|
450
450
|
// 4c) Copy Lit bundle into target/external for #pds/lit import map
|
|
451
451
|
try {
|
|
452
|
-
const
|
|
452
|
+
const litSourceNew = path.join(repoRoot, 'public/assets/pds/external/lit.js');
|
|
453
|
+
const litSourceLegacy = path.join(repoRoot, 'public/assets/js/lit.js');
|
|
454
|
+
const litSource = existsSync(litSourceNew) ? litSourceNew : litSourceLegacy;
|
|
455
|
+
|
|
453
456
|
if (!existsSync(litSource)) {
|
|
454
457
|
log('⚠️ lit.js not found in package assets; skipping copy', 'yellow');
|
|
455
458
|
} else {
|