Allows overriding the twig functions defined by this package. This can be done like this:
// miyagi.js
const twigLaravel = require("@miyagi/twig-laravel");
const twig = require("twig");
twig.extendFunction("asset", (asset) => {
return "what you want";
});
module.exports = {
engine: {
engine: twig,
},
};