USWDS CSS Files and our project CSS files (style.css) were not being applied to the website.
Solution
Initially, I removed the use of the Vite plugin in the previous PR, however while debugging, I realized that it is needed in order to bundle together all CSS files. I removed the postcss.config.js file since at this time, there is no use for any custom postcss configuration (originally taken directly from the /open repo).
No longer using the pathPrefix variable to configure website url with /metrics. Instead configuring it in site.js, should fix broken navigation links.
Re-added Vite & Changed /metrics config
Problem
USWDS CSS Files and our project CSS files (
style.css
) were not being applied to the website.Solution
Initially, I removed the use of the Vite plugin in the previous PR, however while debugging, I realized that it is needed in order to bundle together all CSS files. I removed the
postcss.config.js
file since at this time, there is no use for any custom postcss configuration (originally taken directly from the /open repo).No longer using the pathPrefix variable to configure website url with /metrics. Instead configuring it in
site.js
, should fix broken navigation links.