Skip to content

Commit

Permalink
Merge pull request #444 from fishbrain/dependabot/npm_and_yarn/11ty/e…
Browse files Browse the repository at this point in the history
…leventy-3.0.0

Bump @11ty/eleventy from 2.0.1 to 3.0.0
  • Loading branch information
lhansford authored Oct 3, 2024
2 parents 5c65051 + 48956cf commit 610920c
Show file tree
Hide file tree
Showing 4 changed files with 629 additions and 712 deletions.
6 changes: 3 additions & 3 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const readingTime = require("eleventy-plugin-reading-time");
const { default: markdownItPrism } = require("markdown-it-prism");
import readingTime from "eleventy-plugin-reading-time";
import markdownItPrism from "markdown-it-prism";

module.exports = function (eleventyConfig) {
export default async function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("./index.css");

eleventyConfig.addShortcode("formatDate", function (dateString) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "engineering-blog",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "concurrently \"yarn dev:css\" \"npx @11ty/eleventy --serve --formats=md,html,png,jpg,jpeg,ico,webp,gif\"",
"dev:css": "tailwindcss -i index.css -o _site/assets/css/index.css --watch --postcss",
Expand All @@ -9,7 +10,7 @@
},
"license": "MIT",
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy": "^3.0.0",
"autoprefixer": "^10.4.19",
"concurrently": "^9.0.1",
"eleventy-plugin-reading-time": "^0.0.1",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
Expand Down
Loading

0 comments on commit 610920c

Please sign in to comment.