Skip to content

Confusion about unplugged packages #3197

Answered by merceyz
UNLRN asked this question in Q&A
Jul 28, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

There is a third case where packages are unplugged that isn't listed in the docs (will fix that), when a package contains native files Yarn will automatically unplug it as well.

const FORCED_EXTRACT_FILETYPES = new Set([
// Windows can't execute exe files inside zip archives
`.exe`,
// The c/c++ compiler can't read files from zip archives
`.h`, `.hh`, `.hpp`, `.c`, `.cc`, `.cpp`,
// The java runtime can't read files from zip archives
`.java`, `.jar`,
// Node opens these through dlopen
`.node`,
]);

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@UNLRN
Comment options

@arcanis
Comment options

@UNLRN
Comment options

@arcanis
Comment options

@minlite
Comment options

Answer selected by UNLRN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants