diff --git a/app.js b/app.js index cca6e5a44..b86e911aa 100755 --- a/app.js +++ b/app.js @@ -106,10 +106,8 @@ if (minify && !isDbg) { } app.use(lessMiddleware(__dirname + '/public', { - compiler: { - compress: false - }, - parser: { + render: { + compress: false, paths: [ path.join(__dirname, 'node_modules/bootstrap/less') ] diff --git a/package.json b/package.json index d505435da..dea4e233b 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "highlight.js": "8.4.0", "jquery": "2.1.3", "jwt-simple": "0.2.0", - "less-middleware": "1.0.4", + "less-middleware": "2.0.0", "marked": "0.3.3", "method-override": "2.3.1", "moment": "2.9.0", @@ -53,7 +53,7 @@ "select2": "3.5.2-browserify", "select2-bootstrap-css": "1.4.6", "serve-favicon": "2.2.0", - "underscore": "1.8.1" + "underscore": "1.8.2" }, "repository": { "type": "git",