elegance-js 2.0.7 → 2.0.9

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.
@@ -863,7 +863,7 @@ var buildPage = async (DIST_DIR2, directory, filePath, name) => {
863
863
  const objectAttributes = getObjectAttributes();
864
864
  const layout = await fetchPageLayoutHTML(path.dirname(filePath));
865
865
  const foundObjectAttributes = await pageToHTML(
866
- path.dirname(path.join(DIST_DIR2, "dist", directory)),
866
+ path.dirname(path.join(DIST_DIR2, directory)),
867
867
  pageElements || body(),
868
868
  metadata ?? (() => head()),
869
869
  DIST_DIR2,
@@ -875,7 +875,7 @@ var buildPage = async (DIST_DIR2, directory, filePath, name) => {
875
875
  const {
876
876
  sendHardReloadInstruction
877
877
  } = await generateClientPageData(
878
- path.dirname(path.join(DIST_DIR2, "dist", directory)),
878
+ path.dirname(path.join(DIST_DIR2, directory)),
879
879
  state || {},
880
880
  [...objectAttributes, ...foundObjectAttributes],
881
881
  pageLoadHooks || [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "bin": {