juxscript 1.0.78 → 1.0.80

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.
@@ -209,11 +209,11 @@ export async function bundleJuxFilesToRouter(projectRoot, distDir, options = {})
209
209
  // Support relative (./, ../) OR project-root relative (/) imports
210
210
  if (moduleName.startsWith('.') || moduleName.startsWith('/')) {
211
211
  const resolved = resolveImportPath(moduleName, relativePath);
212
+
212
213
  if (bundledPaths.has(resolved)) {
213
214
  isBundledLocal = true;
214
215
  }
215
216
  }
216
-
217
217
  // ONLY add to global imports if it is NOT a local bundled file
218
218
  if (!isBundledLocal) {
219
219
  allImports.push({ code: importStatement, filePath: relativePath });
@@ -386,6 +386,8 @@ JuxError.register('${cleanName}', '${relativePath}');
386
386
  }
387
387
 
388
388
  function resolveImportPath(importPath, currentFilePath) {
389
+
390
+ console.log(`[Resolve] Importing "${importPath}" from "${currentFilePath}"`);
389
391
  // ✅ FIX: Handle root-relative imports (start with /)
390
392
  if (importPath.startsWith('/')) {
391
393
  const resolved = importPath.substring(1).replace(/\\/g, '/');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "lib/jux.js",