Skip to content

Commit

Permalink
chore: prepare 8.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Mar 22, 2018
1 parent 7498cce commit 9024ddc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org).

## 8.1.1 - 2018-03-22

* Fixed: always configure `nunjucks` for template path.

## 8.1.0 - 2018-03-22

* Feat: export `config` path when he is using (in `result.config.filePath`).
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webfont",
"version": "8.1.0",
"version": "8.1.1",
"description": "Generator of fonts from svg icons, svg icons to svg font, svg font to ttf, ttf to eot, ttf to woff, ttf to woff2",
"license": "MIT",
"author": "itgalaxy <[email protected]>",
Expand Down
6 changes: 5 additions & 1 deletion src/standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,11 @@ export default function(initialOptions) {
options.template
}.njk`;
} else {
templateFilePath = path.resolve(options.template);
const resolvedTemplateFilePath = path.resolve(options.template);

nunjucks.configure(path.dirname(resolvedTemplateFilePath));

templateFilePath = path.resolve(resolvedTemplateFilePath);
}

const nunjucksOptions = merge(
Expand Down

0 comments on commit 9024ddc

Please sign in to comment.