Skip to content

Dependencies update + Bundle analyzation - #69

Merged
thet merged 11 commits into
mainfrom
dependencies-update
Nov 29, 2026
Merged

thet merged 11 commits into
mainfrom
dependencies-update

Conversation

@thet

@thet thet commented Nov 29, 2026

Copy link
Copy Markdown
Member

No description provided.

thet added 11 commits November 29, 2026 11:22
Depending packages might not have all dependencies installed.
Depending packages might not have all dependencies installed.
The webpack and Babel configs now name their loaders and presets by the
resolved path from @patternslib/dev instead of a bare package name.
Webpack and Babel look up bare names from the consuming project, so a
build only worked if the project happened to have them, e.g. through
shamefully-hoist.
Resolved paths also work when @patternslib/dev is linked or not hoisted.

The test compared the loader by name, so it no longer removed the
style-loader. It now compares against the resolved path, and the
resolveLoader workaround is no longer needed.

Assisted-by: Claude Opus 5.5
This package's dependencies on whybundled and webpack-bundle-analyzer
have been removed. Instead, there are two new makefile targets:

- analyze-bundle-dependencies (whybundled)
- analyze-bundle-treemap (webpack-bundle-analyzer)
The dependency tree is displayed in a sunburst map, which gives a good
overview of which packages add the biggest weight.
@thet
thet force-pushed the dependencies-update branch from e1d96f7 to d337ac0 Compare November 29, 2026 21:39
@thet
thet merged commit c4b3498 into main Nov 29, 2026
1 check passed
@thet
thet deleted the dependencies-update branch November 29, 2026 21:41
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 participant