js { const example = require("../includes/example.js"); }
Adding the require statement in the .sqlx file helped solve the issue for me