TwigJS Compiler Configuration Register external functions and filtres in file .twigjs.yml in the project dir. See example here Usage ./bin/twigjs-compile views/twig/ views/twig-js/