[Pkg-javascript-commits] [uglifyjs] 19/77: Resolve the relative path to lib files last
Jonas Smedegaard
dr at jones.dk
Tue May 19 00:02:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v2.4.18
in repository uglifyjs.
commit 0f80b1058d233f11b95fef567d1b37dd88c94f09
Author: truiken <truiken at gmail.com>
Date: Fri Aug 29 11:41:13 2014 -0700
Resolve the relative path to lib files last
This allows usage of UglifyJS on build systems which have a flat (or non-matching relative) directory structure for source files.
---
tools/node.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/node.js b/tools/node.js
index b08559a..9e9c2c1 100644
--- a/tools/node.js
+++ b/tools/node.js
@@ -35,7 +35,7 @@ var FILES = exports.FILES = [
"../lib/sourcemap.js",
"../lib/mozilla-ast.js"
].map(function(file){
- return path.join(path.dirname(fs.realpathSync(__filename)), file);
+ return fs.realpathSync(path.join(path.dirname(__filename), file));
});
FILES.forEach(load_global);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list