dts-generator
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -147,3 +147,3 @@ /// <reference path="./typings/tsd" /> | ||
if (expression.text.charAt(0) === '.') { | ||
return ' require(\'' + pathUtil.join(pathUtil.dirname(sourceModuleId), expression.text) + '\')'; | ||
return ' require(\'' + filenameToMid(pathUtil.join(pathUtil.dirname(sourceModuleId), expression.text)) + '\')'; | ||
} | ||
@@ -158,3 +158,3 @@ } | ||
if (text.charAt(0) === '.') { | ||
return " '" + pathUtil.join(pathUtil.dirname(sourceModuleId), text) + "'"; | ||
return " '" + filenameToMid(pathUtil.join(pathUtil.dirname(sourceModuleId), text)) + "'"; | ||
} | ||
@@ -161,0 +161,0 @@ } |
{ | ||
"name": "dts-generator", | ||
"description": ".d.ts generator. Generates a single d.ts bundle containing external modules from TypeScript files.", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"bugs": { | ||
@@ -6,0 +6,0 @@ "url": "https://github.com/SitePen/dts-generator/issues" |
12982