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
{{ message }}
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
say I want to serve an npm module (eg underscore) via stitch, is this the best way?
var stitch = require('stitch'),
path = require('path')
// grab the parent directory for underscore, there doesn't appear to be a way to compile just one file?
var package = stitch.createPackage({
paths: [path.resolve(require.resolve('underscore'), '..')],
});
// + package.compile/createServer, etc.
The text was updated successfully, but these errors were encountered:
say I want to serve an npm module (eg underscore) via stitch, is this the best way?
The text was updated successfully, but these errors were encountered: