gfranko/amdclean — pull request #33 by rstone770 (2014-02-23 22:45:54+00:00)
Title: amdclean

there is a bug when amdclean resolves relative dependencies.

define('app/helpers/util', [], function(){});

define('app/helpers/base', [
'./util;
], function(util) {});

resolves to

app_helpers_util = ....

app_helpers_base = function(util){}(util);

this obviously doesn't work. Im not sure of the standards but i feel that amdclean should resolve relative modules relative to the module ID.