Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


how can i convert a multi file node js app to a single file


how can i convert a multi file node js app to a single file  using -'javascript,node.js'

If I have a node.js application that is filled with many require statements, how can I compile this into a single .js file? I'd have to manually resolve the require statements and ensure that the classes are loaded in the correct order. Is there some tool that does this?

Let me clarify.

The code that is being run on node.js is not node specific. The only thing I'm doing that doesn't have a direct browser equivalent is using require, which is why I'm asking. It is not using any of the node libraries.
    

asked Sep 24, 2015 by dahiyabecomp
0 votes
2 views



Related Hot Questions



Government Jobs Opening


...