From 4dbca68a49458c23b4cf2d0efd77cc54b7d7d4b4 Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 29 Sep 2017 01:27:12 -0500 Subject: [PATCH] React support for https://github.com/pattern-lab/patternlab-node/issues/623 --- packages/patternengine-node-react/lib/engine_react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patternengine-node-react/lib/engine_react.js b/packages/patternengine-node-react/lib/engine_react.js index 6dfd08df3..089bbb774 100644 --- a/packages/patternengine-node-react/lib/engine_react.js +++ b/packages/patternengine-node-react/lib/engine_react.js @@ -45,7 +45,7 @@ function moduleCodeString(pattern) { var engine_react = { engine: React, engineName: 'react', - engineFileExtension: '.jsx', + engineFileExtension: ['.jsx', '.js'], // hell no expandPartials: false,