@yimingliao/cms 0.0.44 → 0.0.45

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.
@@ -641,7 +641,7 @@ function createSendEmail({
641
641
  });
642
642
  };
643
643
  }
644
- var TEMPLATE_DIR = path.resolve(process.cwd(), "email/templates");
644
+ var TEMPLATE_DIR = path.resolve(process.cwd(), "emails");
645
645
  var LAYOUT_PATH = path.join(TEMPLATE_DIR, "layout.html");
646
646
  var templateCache = /* @__PURE__ */ new Map();
647
647
  async function readTemplate(filePath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",