You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build systems like gradle can cache the entire npm install process and related node_modules folder and make up to date checks using the hash of the folder. Unfortunately this is packed into a zip-file which doesn't allow symlinks and it's necessary to be careful because of platform dependent modules.
I think it would help various build systems down the way if npm could provide a flag like npm --check-platform-independance that checks whether node_modules has some platform dependent code, or can be reused freely.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Build systems like gradle can cache the entire
npm install
process and relatednode_modules
folder and make up to date checks using the hash of the folder. Unfortunately this is packed into a zip-file which doesn't allow symlinks and it's necessary to be careful because of platform dependent modules.I think it would help various build systems down the way if npm could provide a flag like
npm --check-platform-independance
that checks whethernode_modules
has some platform dependent code, or can be reused freely.Beta Was this translation helpful? Give feedback.
All reactions