Quellcode durchsuchen

fix: cta templates dir missing (#1496)

Jacob Bolda vor 4 Jahren
Ursprung
Commit
7b6108e37b
2 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
  1. 5 0
      .changes/cta-templates-missing.md
  2. 2 1
      tooling/create-tauri-app/package.json

+ 5 - 0
.changes/cta-templates-missing.md

@@ -0,0 +1,5 @@
+---
+"create-tauri-app": patch
+---
+
+CTA also needs the template directory published as it doesn't get bundled into the `dist` directory.

+ 2 - 1
tooling/create-tauri-app/package.json

@@ -18,7 +18,8 @@
   "main": "bin/create-tauri-app.js",
   "files": [
     "bin",
-    "dist"
+    "dist",
+    "src/templates"
   ],
   "scripts": {
     "create-tauri-app": "create-tauri-app",