Skip to content

Conversation

bep
Copy link
Member

@bep bep commented Jun 12, 2022

Same logic as for index.{js,ts...} files applies; if both index.esm.js and index.js exists (unlikely), you need to use the name
with extension when importing, else the index.js will win.

Fixes #8631

Same logic as for `index.{js,ts...}` files applies; if both `index.esm.js` and `index.js` exists (unlikely), you need to use the name
with extension when importing, else the `index.js` will win.

Fixes gohugoio#8631
@bep bep merged commit 617e094 into gohugoio:master Jun 12, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have ESBuild recognize index.esm.js mounted through Hugo modules.
1 participant