@pronto-tools-and-more/components-renderer 6.33.0 → 6.34.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -3,8 +3,8 @@ import * as CreateViews from "../CreateViews/CreateViews.js";
|
|
3
3
|
import * as LoadRoutes from "../LoadRoutes/LoadRoutes.js";
|
4
4
|
import * as LoadSwc from "../LoadSwc/LoadSwc.js";
|
5
5
|
import * as RenderView from "../RenderView/RenderView.js";
|
6
|
-
import * as SwcNodePath from "../SwcNodePath/SwcNodePath.js";
|
7
6
|
import * as SetAssetDir from "../SetAssetDir/SetAssetDir.js";
|
7
|
+
import * as SwcNodePath from "../SwcNodePath/SwcNodePath.js";
|
8
8
|
|
9
9
|
export const renderViews = async (
|
10
10
|
componentsPathMain,
|
@@ -17,7 +17,7 @@ export const renderViews = async (
|
|
17
17
|
|
18
18
|
await LoadSwc.loadSwc(SwcNodePath.swcNodePath, tsconfigPath);
|
19
19
|
|
20
|
-
const assetDir = isBuild ? "" : "
|
20
|
+
const assetDir = isBuild ? "resource://dynamic/storefront/assets" : "";
|
21
21
|
SetAssetDir.setAssetDir(assetDir);
|
22
22
|
|
23
23
|
const module = await LoadRoutes.loadRoutes(componentsPathMain);
|