add eleventy-plugin-bundle
This commit is contained in:
parent
c8e5dfa8f0
commit
e173a4aa6d
3 changed files with 23 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
const { EleventyHtmlBasePlugin, EleventyI18nPlugin } = require("@11ty/eleventy");
|
||||
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
|
||||
const bundlerPlugin = require("@11ty/eleventy-plugin-bundle");
|
||||
const fs = require('fs');
|
||||
|
||||
// update this :)
|
||||
|
@ -11,6 +12,7 @@ module.exports = function(eleventyConfig) {
|
|||
eleventyConfig.addPlugin(EleventyI18nPlugin, {
|
||||
defaultLanguage: "de",
|
||||
});
|
||||
eleventyConfig.addPlugin(bundlerPlugin);
|
||||
|
||||
eleventyConfig.addGlobalData("year", year);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue