We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 524855b commit 0f9f894Copy full SHA for 0f9f894
1 file changed
index.js
@@ -1,5 +1,6 @@
1
'use strict';
2
const HandlebarsV3 = require('handlebars');
3
+const HandlebarsV3Runtime = require('handlebars/runtime.js');
4
const HandlebarsV4 = require('@bigcommerce/handlebars-v4');
5
const HandlebarsV4Runtime = require('@bigcommerce/handlebars-v4').runtime;
6
const helpers = require('./helpers');
@@ -43,6 +44,9 @@ class HandlebarsRenderer {
43
44
case 'v4-runtime':
45
this.handlebars = HandlebarsV4Runtime;
46
break;
47
+ case 'v3-runtime':
48
+ this.handlebars = HandlebarsV3Runtime;
49
+ break;
50
case 'v4':
51
this.handlebars = HandlebarsV4.create();
52
0 commit comments