Przeglądaj źródła

fix: cta templates dir missing (#1496)

Jacob Bolda 4 lat temu
rodzic
commit
7b6108e37b

+ 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",