From 5c557915ef534171b50fce4c2b841294e320ba35 Mon Sep 17 00:00:00 2001 From: Richard Lea Date: Wed, 5 Sep 2018 02:49:22 +0900 Subject: [PATCH] Feat: absolute path support in template include/import Signed-off-by: Richard Lea --- .../import-render-nigeru.html | 1 + .../import-render-case/layout/template.njk | 1 - test/nunjucks.test.ts | 55 +++++++++++++------ tools/njk-loader.js | 22 ++++---- 4 files changed, 51 insertions(+), 28 deletions(-) diff --git a/test/fixtures/tpl-render-result/import-render-nigeru.html b/test/fixtures/tpl-render-result/import-render-nigeru.html index 559fd11..fa672f4 100644 --- a/test/fixtures/tpl-render-result/import-render-nigeru.html +++ b/test/fixtures/tpl-render-result/import-render-nigeru.html @@ -6,6 +6,7 @@ 逃げる