Skip to content

Commit

Permalink
refactor: revert the workaround out of !1256
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Dec 30, 2022
1 parent 2c318bd commit 853a493
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/core/src/lib/pattern_engines.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,6 @@ const PatternEngines = Object.create({
const enginesInConfig = findEnginesInConfig(patternLabConfig);

if (enginesInConfig) {
// Quick fix until we've removed @pattern-lab/engine-mustache, starting with https://github.com/pattern-lab/patternlab-node/issues/1239 & https://github.com/pattern-lab/patternlab-node/pull/1455
// @TODO: Remove after removing @pattern-lab/engine-mustache dependency
enginesInConfig.mustache = enginesInConfig.mustache || {};
enginesInConfig.mustache.package =
enginesInConfig.mustache.package || '@pattern-lab/engine-mustache';
enginesInConfig.mustache.extensions =
enginesInConfig.mustache.extensions || 'mustache';

// Try loading each of the configured pattern engines
// eslint-disable-next-line guard-for-in
for (const name in enginesInConfig) {
Expand Down

0 comments on commit 853a493

Please sign in to comment.