Skip to content

Commit

Permalink
Merge pull request #61 from DSACMS/natalia/new_build_tools
Browse files Browse the repository at this point in the history
Use and configure postcss and rollup as new build tools.
  • Loading branch information
natalialuzuriaga authored Nov 28, 2023
2 parents 56747a7 + 6411dfe commit 3f553a7
Show file tree
Hide file tree
Showing 9 changed files with 4,078 additions and 124 deletions.
7 changes: 3 additions & 4 deletions app/.eleventy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const fs = require("fs")
const path = require("path")
const Image = require("@11ty/eleventy-img")
const EleventyVitePlugin = require("@11ty/eleventy-plugin-vite");
const lucideIcons = require("@grimlink/eleventy-plugin-lucide-icons");
const { baseurl } = require("./site/_data/site");
require("dotenv").config()
Expand Down Expand Up @@ -72,14 +71,14 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({
"src/img": "assets/img",
"site/img": "assets/img",
"src/js": "assets/js",
"src/css": "css",
"site/_includes/css": "css",
"site/_includes/js": "assets/js",
"site/_graphs": "assets/img/graphs",
"node_modules/@uswds/uswds/dist/img": "assets/img",
"node_modules/@uswds/uswds/dist/fonts": "fonts"
});

eleventyConfig.setLiquidOptions({ outputEscape: "escape" })
eleventyConfig.addPlugin(EleventyVitePlugin)
eleventyConfig.addPlugin(lucideIcons, {
"class": "custom-class",
"width": 17,
Expand Down
Loading

0 comments on commit 3f553a7

Please sign in to comment.