mirror of
https://github.com/qbittorrent/qBittorrent-website.git
synced 2024-11-23 09:19:44 +00:00
Upgrade 11ty to v3
This commit is contained in:
parent
0be9ae9e97
commit
690a3ce710
@ -1,7 +1,7 @@
|
||||
const ChildProcess = require('node:child_process');
|
||||
const MarkdownItAnchor = require("markdown-it-anchor");
|
||||
import ChildProcess from "node:child_process";
|
||||
import MarkdownItAnchor from "markdown-it-anchor";
|
||||
|
||||
module.exports = (eleventyConfig) => {
|
||||
export default (eleventyConfig) => {
|
||||
const sourceDir = "src";
|
||||
|
||||
// Copy folders as-is
|
||||
@ -38,4 +38,4 @@ module.exports = (eleventyConfig) => {
|
||||
input: sourceDir
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -12,8 +12,9 @@
|
||||
"lint": "eslint src/scripts/**.js && stylelint **/*.css",
|
||||
"serve": "eleventy --serve"
|
||||
},
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "2",
|
||||
"@11ty/eleventy": "3",
|
||||
"@stylistic/eslint-plugin": "*",
|
||||
"eslint": "*",
|
||||
"eslint-plugin-html": "*",
|
||||
|
Loading…
Reference in New Issue
Block a user