Closed hideakikondo closed 6 years ago
Currently(v1.6.6) working. I confirmed that it is working with the script below.
function(request){ var res = loadTest.testJS2.TEST_CONST; // var res = loadTest.testJS2.testLoad(); return { status: 200, headers: {"Content-Type":"text/plain"}, body: ["'" + res] }; }; var loadTest = require("testJS2");
testJS2 = {}; testJS2.TEST_CONST = "test"; testJS2.testLoad = function() { return "ok"; } exports.testJS2 = testJS2;
Currently(v1.6.6) working. I confirmed that it is working with the script below.