Skip to content
Permalink
Browse files

Disable CSS minification

  • Loading branch information...
davidmerfield committed Mar 15, 2019
1 parent a99b2e7 commit 0db8f95d8111fd2a9bae1e90e329fb40d47ea69c
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/blog/render/middleware.js
@@ -105,8 +105,8 @@ module.exports = function(req, res, _next) {
// advance? If it throws an error, the user
// probably forgot an equals sign or some bs...
try {
if (viewType === STYLE && !req.preview)
output = minimize.minify(output || "");
// if (viewType === STYLE && !req.preview)
// output = minimize.minify(output || "");

if (viewType === JS && !req.preview)
output = UglifyJS.minify(output, { fromString: true }).code;

0 comments on commit 0db8f95

Please sign in to comment.
You can’t perform that action at this time.