Skip to content

Commit 0e7d589

Browse files
committed
chore: do not bundle server dependencies
1 parent 72d4a39 commit 0e7d589

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

vite.config.api.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ const files = glob
2222
(async () => {
2323
for (const file of files) {
2424
await build({
25-
ssr: {
26-
noExternal: fs
27-
.readdirSync(path.join(__dirname, "node_modules"), {
28-
withFileTypes: true,
29-
})
30-
.filter(
31-
(dirent) => dirent.isDirectory() && !dirent.name.startsWith(".")
32-
)
33-
.map((dirent) => new RegExp(dirent.name)),
34-
},
3525
configFile: false,
3626
resolve: {
3727
alias: [

0 commit comments

Comments
 (0)