Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "hrt", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "HTTP Rewrite Tool for Frontend", | ||
"author": "Longhao Luo <lhluo@tudou.com>", | ||
"license": "GPL", | ||
"main": "./lib/main.js", | ||
"bin" : { | ||
@@ -9,0 +8,0 @@ "hrt": "./hrt" |
@@ -44,3 +44,3 @@ var Path = require('path'); | ||
// Insert debug script | ||
if (/src\/js\/lib\.js$/.test(newPath)) { | ||
if (/src\/js\/(lib|lite|loader)\.js$/.test(newPath)) { | ||
var content = Util.readFileSync(path, 'utf-8'); | ||
@@ -47,0 +47,0 @@ |
1157313