How to know which dependencies I should add to onlyBuiltDependencies
?
#9122
Answered
by
zkochan
kingyue737
asked this question in
Q&A
-
For example, I'm developing Nuxt and Electron apps. Lifecycle scripts of |
Beta Was this translation helpful? Give feedback.
Answered by
zkochan
Feb 17, 2025
Replies: 1 comment
-
If it is a popular trusted package and it requires a postinstall script, you can safely add it to onlyBuiltDependencies. If an unknown dependency requires a postinstall, I would look into why exactly it needs to run scripts. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kingyue737
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If it is a popular trusted package and it requires a postinstall script, you can safely add it to onlyBuiltDependencies. If an unknown dependency requires a postinstall, I would look into why exactly it needs to run scripts.