Skip to content

fix: revert packageBase constraint of asset emission - #611

Open
43081j wants to merge 1 commit into
vercel:mainfrom
43081j:jg/pkg-base-be-gone
Open

43081j wants to merge 1 commit into
vercel:mainfrom
43081j:jg/pkg-base-be-gone

Conversation

@43081j

@43081j 43081j commented Sep 2, 2026

Copy link
Copy Markdown

Reverts half of #568.

Closes #607.

Fixes #606.

Basically, #568 does two things while stating it does one:

  1. Ignore any paths outside the job's root
  2. Ignore any paths emitted by a node_modules file which sit outside that same node_modules

These were both introduced to fix some problems with sveltekit including things like /bin and what not. However, only the first is needed for that.

The second change seems unnecessary and breaks a lot of common patterns (e.g. the dotenv one in the newly added test).

Reverts half of vercel#568.

Closes vercel#607.

Basically, vercel#568 does two things while stating it does one:

1. Ignore any paths outside the job's root
2. Ignore any paths emitted by a `node_modules` file which sit outside
   that same `node_modules`

These were both introduced to fix some problems with sveltekit including
things like `/bin` and what not. However, only the first is needed for
that.

The second change seems unnecessary and breaks a lot of common patterns
(e.g. the `dotenv` one in the newly added test).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1.3.2 package-boundary guard silently drops cwd-anchored config files referenced by node_modules packages

1 participant