nunjucks-webpack-plugin weekly downloads statistics
By itgalaxy (3 listings) · npm · Webpack plugins
A webpack plugin for nunjucks
nunjucks-webpack-plugin has 33 recorded weekly downloads on npm, a decrease of 61.6% over the past 30 days, ranking #1892 of 2,391 tracked listings.
About nunjucks-webpack-plugin
nunjucks-webpack-plugin
A webpack plugin for nunjucks.
Install
npm install --save-dev nunjucks-webpack-plugin
Usage
import NunjucksWebpackPlugin from "nunjucks-webpack-plugin";
export default {
plugins: [
new NunjucksWebpackPlugin({
templates: [
{
from: "/path/to/template.njk",
to: "template.html"
}
]
})
]
};
It is possible to use multiple templates:
import NunjucksWebpackPlugin from "nunjucks-webpack-plugin";
export default {
plugins: [
new NunjucksWebpackPlugin({
templates: [
{
from: "/path/to/template.njk",
to: "template.html"
},
{
from: "/path/to/next-template.njk",
to: "next-template.html"
}
]
})
]
};
Options
-
templates- (require)arraylist of templates.-
from- (require)stringpath to template. -
to- (require)stringdestination path include filename and extension (relativeoutputwebpack option). -
context- (optional) instead globalcontext(see above), see render second argument. The following webpack compilation variables are also sent through to the template under the__webpack__object:- hash
-
callback- (optional) instead globalcallback(see above), see render third argument. -
writeToFileEmit- (optional, default: false) - If set totruewill emit to build folder and memory in combination withwebpack-dev-server
-
-
configure- (optional)objectornunjucks.Environmentsee configure options.
Contribution
Feel free to push your code if you agree with publishing under the MIT license.
Changelog
License
Description from the npm listing.
- webpack
- webpack-plugin
- plugin
- nunjucks
- nunj
- template
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm Webpack plugins plugins
All 20 nunjucks-webpack-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/nunjucks-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.