Skip to content

fix: add .js extensions to parities imports for strict ESM resolution#815

Merged
EchinopsisM merged 1 commit into
ethersphere:masterfrom
bullfrogbean:fix/redundancy-calc-esm-import
May 27, 2026
Merged

fix: add .js extensions to parities imports for strict ESM resolution#815
EchinopsisM merged 1 commit into
ethersphere:masterfrom
bullfrogbean:fix/redundancy-calc-esm-import

Conversation

@EchinopsisM
Copy link
Copy Markdown
Collaborator

RedundancyCalc.js imported './parities' and './paritiesEncrypted' without file extensions. Under webpack's fullySpecified ESM resolution (enforced in CI's fresh dependency install), extensionless relative imports fail with "Can't resolve './parities'", breaking the Netlify production build. Add explicit .js extensions so the imports resolve under both strict and loose resolution.

RedundancyCalc.js imported './parities' and './paritiesEncrypted'
without file extensions. Under webpack's fullySpecified ESM resolution
(enforced in CI's fresh dependency install), extensionless relative
imports fail with "Can't resolve './parities'", breaking the Netlify
production build. Add explicit .js extensions so the imports resolve
under both strict and loose resolution.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for test-twitter-preview-testing-3 ready!

Name Link
🔨 Latest commit ebffdfe
🔍 Latest deploy log https://app.netlify.com/projects/test-twitter-preview-testing-3/deploys/6a1766d50b84da00081ec1f1
😎 Deploy Preview https://deploy-preview-815--test-twitter-preview-testing-3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@EchinopsisM EchinopsisM merged commit 99b6592 into ethersphere:master May 27, 2026
7 of 9 checks passed
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