From dd1e4da6a4fbfa6d9c6305af3b0e8c9cec626549 Mon Sep 17 00:00:00 2001 From: Rias Date: Fri, 3 Jan 2025 15:18:01 +0100 Subject: [PATCH] Add node modules path? --- src/Mjml.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mjml.php b/src/Mjml.php index 194d0de..28ef34d 100755 --- a/src/Mjml.php +++ b/src/Mjml.php @@ -146,6 +146,7 @@ public function getCommand(string $templatePath, string $outputPath, $arguments) $extraDirectories = [ '/usr/local/bin', '/opt/homebrew/bin', + __DIR__ .'/../node_modules/mjml/bin' ]; $mjmlPathFromEnv = getenv('MJML_PATH');