@t8n/ui 1.1.0 → 1.2.0
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/index.js +2 -1
- package/package.json +1 -1
- package/titan.json +1 -1
package/index.js
CHANGED
|
@@ -22,7 +22,8 @@ const memoryCache = Object.create(null);
|
|
|
22
22
|
// Resolve paths relative to app/ ✅ FIXED
|
|
23
23
|
// --------------------------------------------------
|
|
24
24
|
function resolvePath(path) {
|
|
25
|
-
|
|
25
|
+
const root = "../app" || "."
|
|
26
|
+
return root + `/${path.replace(/^\/+/, "")}`;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
// --------------------------------------------------
|
package/package.json
CHANGED