flex-combo
Advanced tools
Comparing version 0.12.13 to 0.12.14
@@ -192,3 +192,8 @@ var urlLib = require("url"); | ||
engineHandler: function (_url, next) { | ||
var filteredURL = this.filteredUrl(_url, true); | ||
var eUrl = _url; | ||
// .css找不到尝试找.less | ||
if (!/\.less/.test(_url)) { | ||
eUrl = _url.replace(/\.css$/, ".less.css"); | ||
} | ||
var filteredURL = this.filteredUrl(eUrl, true); | ||
var absPath = this.getRealPath(filteredURL); | ||
@@ -195,0 +200,0 @@ |
@@ -5,7 +5,7 @@ /** | ||
* */ | ||
var API = require("./api"); | ||
var DAC = require("dac"); | ||
var fsLib = require("fs"); | ||
var pathLib = require("path"); | ||
var DAC = require("dac"); | ||
var trace = require("plug-trace"); | ||
var API = require("./api"); | ||
@@ -116,2 +116,5 @@ var pkg = require(__dirname + "/package.json"); | ||
if (req && res && next) { | ||
if (res._header) { | ||
return next(); | ||
} | ||
fcInst.handle(req, res, next); | ||
@@ -118,0 +121,0 @@ } |
{ | ||
"name": "flex-combo", | ||
"version": "0.12.13", | ||
"version": "0.12.14", | ||
"description": "A combo tool designed for web front-end developer, which support various kinds of combo format by modify configuration(eg. yahoo combo).", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"commander": "~2.5.0", | ||
"dac": "~0.6.4", | ||
"dac": "~0.6.5", | ||
"fetch-agent": "~0.4.0", | ||
@@ -15,0 +15,0 @@ "inline-source-map-comment": "~1.0.5", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80439
692
Updateddac@~0.6.5