updated build system
This commit is contained in:
@@ -11,4 +11,20 @@ module.exports = function(app, package) {
|
||||
})
|
||||
})
|
||||
|
||||
if (app) {
|
||||
|
||||
var path = require('path')
|
||||
|
||||
// serve jquery library
|
||||
app.get('/jquery.js', function(req, res) {
|
||||
res.sendfile('jquery.min.js', {root: path.dirname(require.resolve('jquery'))});
|
||||
});
|
||||
|
||||
// serve openpgp library
|
||||
app.get('/openpgp.js', function(req, res) {
|
||||
res.sendfile('openpgp.min.js', {root: path.dirname(require.resolve('openpgp'))});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user