My understanding is that you have to go through node in order to use the require
functionality that pulls other files into a specific file's scope. How does this (or node in general) get deployed to production?
I tried having a folder with npm initialized inside and had an index.html
referring to another script and using require
in there but it didn't work. Unless I node
that file, the require
won't work. So how does node get onto the server?
via stackjlei