feat: dynamic ish terminal preview
This commit is contained in:
+3
-1
@@ -5,6 +5,9 @@ import { filters } from "./src/_filters/index.js";
|
||||
import { postComparator, isPostPublic } from "./src/_utils/sort-posts.js";
|
||||
|
||||
export default function (eleventyConfig) {
|
||||
// Build ignored local post fixtures without making them Git-tracked.
|
||||
eleventyConfig.setUseGitIgnore(false);
|
||||
|
||||
// 1. Static Asset Passthrough Copy
|
||||
eleventyConfig.addPassthroughCopy({ "src/assets": "assets" });
|
||||
|
||||
@@ -66,7 +69,6 @@ export default function (eleventyConfig) {
|
||||
return [...tagSet].sort();
|
||||
});
|
||||
|
||||
|
||||
// 6. Dev Server Options (dynamic port binding)
|
||||
eleventyConfig.setServerOptions({
|
||||
port: parseInt(process.env.PORT || "8080", 10)
|
||||
|
||||
Reference in New Issue
Block a user