Skip to content

Conversation

@ritwickdey
Copy link
Contributor

@ritwickdey ritwickdey commented Jan 1, 2022

Fixes #675

Validation of entry points is added In the last release #669. But there is a small edge case.

Writing .js file extension in node environment is optional.
People usually write main: "out/extension" which is actually "out/extension.js".

So, the below condition will fail.

this.entryPoints.delete(util.normalize(file.path));

I fixed the bug and also added a test case for this situation in this PR.

@ritwickdey ritwickdey changed the title fix: validate of sentrypoint without js tag #675 fix: entrypoint validation without js tag #675 Jan 1, 2022
@ritwickdey ritwickdey changed the title fix: entrypoint validation without js tag #675 fix: entrypoint validation without js tag Jan 1, 2022
@paulhocker
Copy link

Thanks for the quick work on this everyone!

@ritwickdey ritwickdey force-pushed the patch-entrypoint-without-js-tag branch from 0e7982d to b3f5d8d Compare January 2, 2022 03:06
@joaomoreno joaomoreno self-assigned this Jan 3, 2022
@joaomoreno joaomoreno added this to the January 2022 milestone Jan 3, 2022
@joaomoreno joaomoreno merged commit e53c78d into microsoft:main Jan 3, 2022
@github-actions
Copy link

github-actions bot commented Jan 3, 2022

🎉 This PR is included in version 2.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Raeleemae
Copy link

: $61.7bn he lost 7.00 from tiktok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vsce package, Extension entrypoint(s) missing

4 participants