chore(.eleventy): Remove unused code
This commit is contained in:
parent
0b6c6e9ea8
commit
7ec4e7c2ae
1 changed files with 0 additions and 12 deletions
12
.eleventy.js
12
.eleventy.js
|
@ -8,8 +8,6 @@ import { feedPlugin } from "@11ty/eleventy-plugin-rss";
|
|||
import markdownIt from "markdown-it";
|
||||
import anchor from "markdown-it-anchor";
|
||||
import attributes from "markdown-it-attrs";
|
||||
import { minify } from "terser";
|
||||
import { extname } from "path";
|
||||
|
||||
const headerIconLink = (slug, _, state, idx) => {
|
||||
const linkTokens = [
|
||||
|
@ -93,16 +91,6 @@ export default function (config) {
|
|||
.use(attributes),
|
||||
);
|
||||
|
||||
// Minify js files
|
||||
// config.addTransform("min.js", async (content, outputPath) => {
|
||||
// if (outputPath && extname(outputPath) == ".js") {
|
||||
// const js = await minify(content, {});
|
||||
// return js.code;
|
||||
// }
|
||||
//
|
||||
// return content;
|
||||
// });
|
||||
|
||||
return {
|
||||
dir: {
|
||||
includes: "_includes",
|
||||
|
|
Loading…
Add table
Reference in a new issue