@pronto-tools-and-more/components-renderer 6.33.0 → 6.33.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components-renderer",
3
- "version": "6.33.0",
3
+ "version": "6.33.1",
4
4
  "description": "",
5
5
  "main": "src/componentsRendererMain.js",
6
6
  "type": "module",
@@ -17,7 +17,7 @@ export const renderViews = async (
17
17
 
18
18
  await LoadSwc.loadSwc(SwcNodePath.swcNodePath, tsconfigPath);
19
19
 
20
- const assetDir = isBuild ? "" : "resource://dynamic";
20
+ const assetDir = isBuild ? "resource://dynamic/storefront/assets" : "";
21
21
  SetAssetDir.setAssetDir(assetDir);
22
22
 
23
23
  const module = await LoadRoutes.loadRoutes(componentsPathMain);
@@ -4,5 +4,5 @@ export const setAssetDir = (path) => {
4
4
  Assert.string(path);
5
5
  // TODO use import meta env once supported
6
6
  // @ts-ignore
7
- process.env.ASSET_DIR = `resource://dynamic`;
7
+ process.env.ASSET_DIR = path;
8
8
  };