Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rcfile support + fix dependency tracking + add documentation #11

Merged
merged 1 commit into from Oct 18, 2018
Merged

rcfile support + fix dependency tracking + add documentation #11

merged 1 commit into from Oct 18, 2018

Conversation

chocolateboy
Copy link
Owner

@chocolateboy chocolateboy commented Sep 27, 2018

  1. add support for an rcfile i.e. one of:

    • .nunjucksrc
    • .nunjucks.js
    • nunjucks.config.js
  2. fix relative paths i.e. importing/extending ../../macros/util.html.njk now works.

  3. track each template's loaded dependencies rather than monitoring files indiscriminately

  4. add documentation

  5. extend the transpiled version of HTMLAsset (lib/assets/HTMLAsset) rather than the source version (src/assets/HTMLAsset) to avoid compatibility issues

  6. bump the minimum supported node version to v7.6.0 for async/await

1) add support for an rcfile i.e. one of:

    - `.nunjucksrs`
    - `.nunjucks.js`
    - `nunjucks.config.js`

2) fix relative paths i.e. importing/extending
   `../../macros/util.html.njk` now works.

3) track each template's loaded dependencies rather than monitoring
   files indiscriminately

4) add documentation

5) extend the transpiled version of HTMLAsset (lib/assets/HTMLAsset)
   rather than the source version (src/assets/HTMLAsset) to avoid
   compatibility issues

6) bump the minimum supported node version to v7.6.0 for async/await
@devmattrick
Copy link
Collaborator

Sorry it took so long! Going to go ahead and merge this. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment