Skip to content

Commit

Permalink
remove by-module division
Browse files Browse the repository at this point in the history
  • Loading branch information
mirdukkkkk committed Jan 15, 2024
1 parent d78b57c commit 3ebb72c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ export default defineConfig({
input: {
main: resolve(__dirname, "index.html"),
404: resolve(__dirname, "404.html"),
},
output: {
manualChunks(l) {
if(l.includes("node_modules")) {
const a = l.toString().split("node_modules/")[1].split("/")[0]
return a.toString();
}
}
},
},
}
}
}
});

0 comments on commit 3ebb72c

Please sign in to comment.