-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot package with vsce if using a linked package #581
Comments
This seems to be because the |
Do you expect the linking to simply be resolved during packaging? |
The linked module is in .vscodeignore contents:
EDIT: Add: |
You might have some luck using 1.91.0, before #418 was merged. In that version More generally, including everything except |
Thank you! I reverted back to v1.91.0 and it seems to work perfectly with your mentioned change. Edit: With the revert to minimatch in v1.95, the above method works as well. |
My project uses a module linked from another location.
Doing either
vsce package
orvsce ls
throws a(The other repository uses chai for testing)
.vscodeignore
has been set up to ignorenode_modules
for the current project, which is where the symlink tootherProject
is (as I said, linked repository).Once unlinked, I can package the repository and the resulting extension works fine (Because really I want to package the webpack-ed files, and I don't need the rest)
Of course, this isn't really an optimal solution as unlinking, compiling then linking is not really nice.
The text was updated successfully, but these errors were encountered: