Can I use a library that requires to be run on NodeJS (like ssh2) on a server component?
Answered
Havana posted this in #help-forum
HavanaOP
Can I use a library that requires to be run on NodeJS (like ssh2) on a server component?
Answered by Havana
It looks like the answer to my question is yes. In the case of ssh2, I had to update my next webpack config and add a node-loader.
1 Reply
HavanaOP
It looks like the answer to my question is yes. In the case of ssh2, I had to update my next webpack config and add a node-loader.
Answer