sindresorhus / gulp-nunjucks

Precompile Nunjucks templates
MIT License
152 stars 20 forks source link

Typos in readme API after update to 6.0.0 #44

Closed alkorlos closed 8 months ago

alkorlos commented 8 months ago

Now in readme.md

nunjucks.compile(data?, options?)

and

nunjucks.precompile(options?)

In v6.0.0 have change:

Switched to named imports

The example needs to be corrected to

nunjucksCompile(data?, options?)

and

nunjucksPrecompile(options?)