Skip to content

NXT-20281: webpack pnpm - #400

Open
dan-ichim-lgp wants to merge 4 commits into
developfrom
feature/NXT-20281
Open

dan-ichim-lgp wants to merge 4 commits into
developfrom
feature/NXT-20281

Conversation

@dan-ichim-lgp

@dan-ichim-lgp dan-ichim-lgp commented Sep 18, 2026 •

Copy link
Copy Markdown

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • I have run automated testing and it is passed
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

Webpack can resolve nested dependencies when @enact/* is linked from a pnpm workspace.

Resolution

With Enact as a pnpm workspace, nested deps (for example xhr → global) live in the workspace node_modules, not next to the npm-linked package. Webpack then failed to resolve them because resolve.symlinks stays false (needed for ilib).
config/webpack.config.js now also searches the linked pnpm store. Apps that still use npm-linked Enact from a classic install are unchanged.

Additional Considerations

Links

NXT-20281

Comments

Enact-DCO-1.0-Signed-off-by: Dan Ichim (dan.ichim@lgepartner.com)

@dan-ichim-lgp dan-ichim-lgp self-assigned this Sep 18, 2026
@dan-ichim-lgp dan-ichim-lgp changed the title jenkins pnpm NXT-20281: webpack pnpm Sep 18, 2026
Comment thread config/webpack.config.js
dan-ichim-lgp and others added 2 commits September 21, 2026 14:05
Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com>
Comment thread config/webpack.config.js Outdated
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.

3 participants