Closed jeffwillden closed 10 years ago
You need to set the main file explicitly, for example: .main('model.js')
. This is the file that's going to be the root of the package.
I noticed this was missing from the docs snippet so I'll update it, thanks for reporting!
Edit: .main('model.js')
I'm considering gluejs for a project, rendering to an express/connect response. The 2nd-to-the-last line in the resulting file has myModuleName = require('undefined'); but all the other scripts appear to concatenated in there fine. What am I missing?