var foo = "'hello world' from tools.wxs"; var bar = function (d) { return d; }; module.exports = { FOO: foo, bar: bar, }; module.exports.msg = "some msg";