Skip to content

Commit

Permalink
run postcss with production env set after the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Jul 23, 2024
1 parent cf0651b commit 6f7c460
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 67 deletions.
72 changes: 6 additions & 66 deletions _data/assetPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"check_circle.svg": "/assets/assets/check_circle-FKYRF36F.svg",
"checkbox-indeterminate.svg": "/assets/assets/checkbox-indeterminate-HJACJSU3.svg",
"checkbox-indeterminate-alt.svg": "/assets/assets/checkbox-indeterminate-alt-SXGAHOOI.svg",
"close.svg": "/assets/images/close-x.svg",
"close.svg": "/assets/assets/close-D6X4FKTZ.svg",
"correct8.svg": "/assets/assets/correct8-BW6WT7U2.svg",
"correct8-alt.svg": "/assets/assets/correct8-alt-M4H3GT6Q.svg",
"delna.webp": "/assets/assets/delna-Y7FFIQ4T.webp",
Expand All @@ -37,7 +37,7 @@
"frank.webp": "/assets/assets/frank-WEGTXKFN.webp",
"header-bottom-border.webp": "/assets/assets/header-bottom-border-K2INIIYM.webp",
"hero.jpg": "/assets/assets/hero-OXUBFI7L.jpg",
"homepage-gradient-bg.jpg": "/assets/images/homepage-gradient-bg-mobile.jpg",
"homepage-gradient-bg.jpg": "/assets/assets/homepage-gradient-bg-L552LDA4.jpg",
"homepage-gradient-bg-mobile.jpg": "/assets/assets/homepage-gradient-bg-mobile-7NX7I3DV.jpg",
"impact-report_pdf-icon.webp": "/assets/assets/impact-report_pdf-icon-ARH2FAXH.webp",
"info.svg": "/assets/assets/info-TBKQSD4V.svg",
Expand Down Expand Up @@ -83,68 +83,8 @@
"tts-inclusive-grid-map.svg": "/assets/assets/tts-inclusive-grid-map-D5DPHQNA.svg",
"unfold_more.svg": "/assets/assets/unfold_more-WL443JWS.svg",
"warning.svg": "/assets/assets/warning-5OR6W6GJ.svg",
"merriweathe": "/assets/fonts/merriweather",
"poppin": "/assets/fonts/poppins",
"public": "/assets/fonts/public-sans",
"roboto": "/assets/fonts/roboto-mono",
"source-sans": "/assets/fonts/source-sans-pro",
"10x.png": "/assets/images/10x-logo.png",
"10x.webp": "/assets/images/10x-logo.webp",
"10x_og_imag.png": "/assets/images/10x_og_image.png",
"10x_og_image_githu.png": "/assets/images/10x_og_image_github.png",
"10x_og_image_impac.png": "/assets/images/10x_og_image_impact.png",
"10x_og_image_investmen.png": "/assets/images/10x_og_image_investment.png",
"10x_og_image_new.png": "/assets/images/10x_og_image_news.png",
"access-to-data.png": "/assets/images/access-to-data-icon.png",
"access-to-data.webp": "/assets/images/access-to-data-icon.webp",
"benefits-eligibility.png": "/assets/images/benefits-eligibility-icon.png",
"benefits-eligibility.webp": "/assets/images/benefits-eligibility-icon.webp",
"cloud_go.png": "/assets/images/cloud_gov.png",
"current-report-icon.png": "/assets/images/current-report-icon-solid.png",
"current-report-icon.svg": "/assets/images/current-report-icon-floated.svg",
"current-report.svg": "/assets/images/current-report-icon.svg",
"customer-experience.png": "/assets/images/customer-experience-icon.png",
"customer-experience.webp": "/assets/images/customer-experience-icon.webp",
"digitalgov.png": "/assets/images/digitalgov-logo.png",
"equity-project.png": "/assets/images/equity-project-icon.png",
"equity-project.webp": "/assets/images/equity-project-icon.webp",
"external-link.svg": "/assets/images/external-link-icon.svg",
"gradient.png": "/assets/images/gradient-bg.png",
"gradient_her.png": "/assets/images/gradient_hero.png",
"gsa.svg": "/assets/images/gsa-logo.svg",
"header-bottom.png": "/assets/images/header-bottom-border.png",
"header-bottom.webp": "/assets/images/header-bottom-border.webp",
"homepage-gradient.jpg": "/assets/images/homepage-gradient-bg.jpg",
"homepage-gradient.png": "/assets/images/homepage-gradient-bg.png",
"impact": "/assets/images/impact-reports",
"left.svg": "/assets/images/left-arrow.svg",
"logo.png": "/assets/images/logo-alt.png",
"logo.svg": "/assets/images/logo-alt.svg",
"log.svg": "/assets/images/logo.svg",
"menu-close.png": "/assets/images/menu-close-X.png",
"menu-close.webp": "/assets/images/menu-close-X.webp",
"menu.svg": "/assets/images/menu-icon.svg",
"optimal-digital-experience.png": "/assets/images/optimal-digital-experience-icon.png",
"optimal-digital-experience.webp": "/assets/images/optimal-digital-experience-icon.webp",
"placeholder.png": "/assets/images/placeholder-icon.png",
"placeholder.svg": "/assets/images/placeholder-icon.svg",
"public-service.png": "/assets/images/public-service-icon.png",
"public-service.webp": "/assets/images/public-service-icon.webp",
"purple.svg": "/assets/images/purple-US.svg",
"science-medicine.png": "/assets/images/science-medicine-icon.png",
"science-medicine.webp": "/assets/images/science-medicine-icon.webp",
"section2-purple.png": "/assets/images/section2-purple-bg.png",
"section2-purple.svg": "/assets/images/section2-purple-bg.svg",
"section2-purple.webp": "/assets/images/section2-purple-bg.webp",
"security-project.png": "/assets/images/security-project-icon.png",
"security-project.webp": "/assets/images/security-project-icon.webp",
"sewer": "/assets/images/sewer-spills",
"sprit.svg": "/assets/images/sprite.svg",
"technology.svg": "/assets/images/technology-services.svg",
"tts-inclusive-grid.png": "/assets/images/tts-inclusive-grid-map.png",
"tts-inclusive-grid.svg": "/assets/images/tts-inclusive-grid-map.svg",
"uswd": "/assets/images/uswds",
"app.js": "/assets/js/app-3NUSU6O4.js",
"index.css": "/assets/styles/index-PPVIHCWK.css",
"j": "/assets/uswds/js"
"app.js": "/assets/js/app-EDZES2YK.js",
"app.map": "/assets/js/app-EDZES2YK.js.map",
"index.css": "/assets/styles/index-S45RFLJF.css",
"index.map": "/assets/styles/index-S45RFLJF.css.map"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dev:assets": "npm run assets:refresh && npm run assets:watch",
"dev:debug": "DEBUG=* npx @11ty/eleventy --serve --watch",
"dev:serve": "npx @11ty/eleventy --serve --watch",
"federalist": "ELEVENTY_ENV=production npm run build",
"federalist": "npm run build && ELEVENTY_ENV=production npm run assets:autoprefix",
"serve": "npx @11ty/eleventy --serve",
"start": "npx @11ty/eleventy --serve",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit 6f7c460

Please sign in to comment.