You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2024. It is now read-only.
@@ -113,13 +113,13 @@ module.exports = new TwingEnvironment(
113
113
);
114
114
```
115
115
116
-
> index.twig
116
+
<sub>index.twig</sub>
117
117
118
118
```twig
119
119
{{ foo }}
120
120
```
121
121
122
-
> index.js
122
+
<sub>index.js</sub>
123
123
124
124
```javascript
125
125
let renderedTemplate =require('./index.twig'); // "bar"
@@ -131,7 +131,7 @@ This second behavior, known as _render at compile time_, comes with the benefit
131
131
132
132
|Name|Required|Type|Default|Description|
133
133
|---|:---:|:---:|:---:|---|
134
-
|environmentModulePath|`true`|string|`undefined`| A path to the module that exports the `TwingEnvironment` instance that will be used by the loader to compile (and render) the templates at compile-time and by the bundle to render them at runtime.|
134
+
|environmentModulePath|`true`|string|`undefined`| A path to the module that exports the `TwingEnvironment` instance that will be used by the loader to compile (and render) the templates at compiletime and by the bundle to render them at runtime.|
135
135
|renderContext|`false`|any|`undefined`|If different from `undefined`, enables the _render at compile time_ behavior and serves as context for the rendering of the templates.|
0 commit comments