Skip to content

Commit 6619b28

Browse files
authored
fix: templates bugs (#221)
1 parent ba03ca9 commit 6619b28

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/packTemplates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function packTemplates() {
1515
if (!item.isDirectory())
1616
continue;
1717

18-
if (item.name === packedTemplatedDirectoryName)
18+
if (item.name === packedTemplatedDirectoryName || item.name === "node_modules")
1919
continue;
2020

2121
await packTemplate(item.name);

templates/electron-typescript-react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"rimraf": "^5.0.7",
4141
"typescript": "^5.2.2",
4242
"vite": "^5.1.6",
43-
"vite-plugin-electron": "^0.28.6"
43+
"vite-plugin-electron": "^0.28.6",
44+
"vite-plugin-electron-renderer": "^0.14.5"
4445
}
4546
}

0 commit comments

Comments
 (0)