├── .gitignore ├── README.md ├── index.js ├── package.json ├── runtime-shim.js └── test ├── compare-with-nunjucks-render ├── bundle.js ├── context.json └── template.nunj ├── prevent-duplicate-require-calls ├── bundle.js ├── partial.nunj └── template.nunj ├── resolve-recursive-dependencies ├── base-partial.nunj ├── base.nunj ├── bundle.js ├── context.json ├── inner-partial.nunj ├── intermediate.nunj ├── partial.nunj └── template.nunj ├── test-extends ├── base.nunj ├── bundle.js ├── context.json ├── error.html └── template.nunj ├── test-file-extension-config ├── bundle.js ├── context.json └── template.html └── test.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/package.json -------------------------------------------------------------------------------- /runtime-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/runtime-shim.js -------------------------------------------------------------------------------- /test/compare-with-nunjucks-render/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/compare-with-nunjucks-render/bundle.js -------------------------------------------------------------------------------- /test/compare-with-nunjucks-render/context.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstName": "Hello, world" 3 | } 4 | -------------------------------------------------------------------------------- /test/compare-with-nunjucks-render/template.nunj: -------------------------------------------------------------------------------- 1 |

{{ firstName }}

2 | -------------------------------------------------------------------------------- /test/prevent-duplicate-require-calls/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/prevent-duplicate-require-calls/bundle.js -------------------------------------------------------------------------------- /test/prevent-duplicate-require-calls/partial.nunj: -------------------------------------------------------------------------------- 1 |
Test Content
2 | -------------------------------------------------------------------------------- /test/prevent-duplicate-require-calls/template.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/prevent-duplicate-require-calls/template.nunj -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/base-partial.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/resolve-recursive-dependencies/base-partial.nunj -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/base.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/resolve-recursive-dependencies/base.nunj -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/resolve-recursive-dependencies/bundle.js -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/context.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstName": "Hello, world" 3 | } 4 | -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/inner-partial.nunj: -------------------------------------------------------------------------------- 1 |
Partial contents
2 | -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/intermediate.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/resolve-recursive-dependencies/intermediate.nunj -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/partial.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/resolve-recursive-dependencies/partial.nunj -------------------------------------------------------------------------------- /test/resolve-recursive-dependencies/template.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/resolve-recursive-dependencies/template.nunj -------------------------------------------------------------------------------- /test/test-extends/base.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/test-extends/base.nunj -------------------------------------------------------------------------------- /test/test-extends/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/test-extends/bundle.js -------------------------------------------------------------------------------- /test/test-extends/context.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstName": "Hello, world" 3 | } 4 | -------------------------------------------------------------------------------- /test/test-extends/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/test-extends/error.html -------------------------------------------------------------------------------- /test/test-extends/template.nunj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/test-extends/template.nunj -------------------------------------------------------------------------------- /test/test-file-extension-config/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/test-file-extension-config/bundle.js -------------------------------------------------------------------------------- /test/test-file-extension-config/context.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstName": "Hello, world" 3 | } 4 | -------------------------------------------------------------------------------- /test/test-file-extension-config/template.html: -------------------------------------------------------------------------------- 1 |

{{ firstName }}

2 | -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rotundasoftware/nunjucksify/HEAD/test/test.js --------------------------------------------------------------------------------