Skip to content

Commit

Permalink
pnpm prune needs to work after build
Browse files Browse the repository at this point in the history
  • Loading branch information
simar0at committed Feb 3, 2025
1 parent 5dd58d2 commit 36297f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion heroku-postbuild-cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ if (process.env.CI === undefined) {

await (async () => {
for await (const entry of glob("*")) {
if (entry === "heroku-postbuild-cleanup.js" || entry === "package.json") {
if (
entry === "node_modules" ||
entry === "heroku-postbuild-cleanup.js" ||
entry === "package.json"
) {
continue;
}
try {
Expand Down

0 comments on commit 36297f1

Please sign in to comment.