We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.eleventy.js
1 parent d7353cd commit 8cafab8Copy full SHA for 8cafab8
.eleventy.js
@@ -68,6 +68,12 @@ export default function (eleventyConfig) {
68
"src/robots.txt": "robots.txt"
69
})
70
71
+ if (isDevelopment) {
72
+ eleventyConfig.addPassthroughCopy({
73
+ "src/assets/js": "js",
74
+ })
75
+ }
76
+
77
eleventyConfig.addFilter("postDate", (dateObj) => {
78
if (typeof dateObj !== "object") dateObj = new Date(dateObj)
79
return DateTime.fromJSDate(dateObj).toLocaleString(DateTime.DATE_MED)
0 commit comments