Skip to content

Commit c8105f0

Browse files
committed
chore: add chalk dependency to help increase visibility of Twig renderer errors
1 parent 5d28a24 commit c8105f0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/engine-twig-php/lib/engine_twig_php.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
const TwigRenderer = require('@basalt/twig-renderer');
1818
const fs = require('fs-extra');
1919
const path = require('path');
20+
const chalk = require('chalk');
2021

2122
let twigRenderer;
2223
let patternLabConfig = {};

packages/engine-twig-php/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dependencies": {
77
"@basalt/twig-renderer": "0.13.1",
88
"@pattern-lab/core": "^5.7.0",
9+
"chalk": "^4.0.0",
910
"fs-extra": "0.30.0"
1011
},
1112
"keywords": [

0 commit comments

Comments
 (0)