generates the following name: define("components\new\file"
should be define("components/new/file",
seems like an easy fix
moduleName = moduleName.replace(/\\/g, "/");
after the
var moduleName = path.join(path.dirname(filepath), path.basename(filepath,extension));
seems to do the trick, not sure if that's the proper way to do that tho
generates the following name:
define("components\new\file"
should bedefine("components/new/file",
seems like an easy fix
moduleName = moduleName.replace(/\\/g, "/");
after thevar moduleName = path.join(path.dirname(filepath), path.basename(filepath,extension));
seems to do the trick, not sure if that's the proper way to do that tho