jeremie4412
09/30/2025, 11:20 AMTypeError: Cannot read properties of undefined (reading 'startsWith')
while passing javascript file on a custom export?ian
09/30/2025, 6:47 PMian
09/30/2025, 7:51 PMjeremie4412
10/01/2025, 8:02 PM// Named exports
module.exports.customFunction = (output, context) => {
return output.includes('specific text');
};
and I finally made it work with something like this
// Named exports
module.exports = {
customFunction: (output, context) => {
return output.includes('specific text');
},
}