updated build system

This commit is contained in:
Marc Wäckerlin committed 2017-03-16 07:10:39 +00:00
1 parent 203f866c28
commit 693ecbefe5
10 files changed
+170 -27

No files matched your search

+16
View File
@@ -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'))});
});
}
}