USWDS-Site: Document a full Webpack example #2121
Labels
Affects: Content
Relates to content
Affects: Guidance
Relates to guidance
Needs: Discussion
We need to discuss an approach to this issue
Status: Voting Open 👍
Collecting upvotes to measure community interest
Type: Feature Request
New functionality
Is your feature request related to a problem? Please describe.
Right now, instructions ton how to configure USWDS for Webpack are spread in bits and pieces around the documentation. It would be nice to have a full example of a (basic) Webpack config.
Describe the solution you'd like
I think a small markdown document with a short code block of an example Webpack config -- along with prose explaining the more complicated parts of building, like image and font references -- should suffice. In particular, which theme variables to set for asset paths and how you can configure your build directory structure so that such assets will load is important.
Describe alternatives you've considered
I have considered writing a small, minimal example myself and pushing to an open repository just so it's out there. I may still do this anyway.
The text was updated successfully, but these errors were encountered: