@pronto-tools-and-more/components-renderer 6.10.1 → 6.12.0

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.10.1",
3
+ "version": "6.12.0",
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
  // TODO use import meta env once supported
19
19
  // @ts-ignore
20
- process.env.ASSET_DIR = pathPrefix;
20
+ process.env.ASSET_DIR = `resource://dynamic`;
21
21
  const module = await LoadRoutes.loadRoutes(componentsPathMain);
22
22
  const values = Object.values(module);
23
23
  // TODO return views string instead of json for faster performance?