Skip to content

Conversation

@devversion
Copy link
Contributor

Currently when a config has an explicit extension, the config-loader still tries resolving/traversing for a package.json file. This can be slow, and also break in some environments with sandboxing; especially when used in combination with Bazel.

It doesn't seem investigating why the calls are stuck, if the logic should not run in general when an explicit extension is provided.

@changeset-bot
Copy link

changeset-bot bot commented Apr 2, 2025

🦋 Changeset detected

Latest commit: d432f57

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web/config-loader Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bashmish
Copy link
Member

bashmish commented Apr 2, 2025

@devversion thanks for the fix! Please add a changeset (with a patch bump) following the previous comment notes, then I can release it too.

…xtensions

Currently when a config has an explicit extension, the config-loader
still tries resolving/traversing for a `package.json` file. This can
be slow, and also break in some environments with sandboxing; especially
when used in combination with Bazel.

It doesn't seem investigating why the calls are stuck, if the logic
should not run in general when an explicit extension is provided.
@devversion
Copy link
Contributor Author

@bashmish done!

@bashmish bashmish merged commit 74f2360 into modernweb-dev:master Apr 2, 2025
@bashmish
Copy link
Member

bashmish commented Apr 2, 2025

Thanks! Will release shortly.

@devversion
Copy link
Contributor Author

Thanks for the super quick review & merge!

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.

2 participants