Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS-Site: Document a full Webpack example #2121

Open
eric-gade opened this issue Jun 7, 2022 · 4 comments
Open

USWDS-Site: Document a full Webpack example #2121

eric-gade opened this issue Jun 7, 2022 · 4 comments
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

Comments

@eric-gade
Copy link

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.

@bonez0607
Copy link

@eric-gade - Did you ever end up writing one? I'm looking to switch our setup from gulp to webpack and would be nice to have an example to draw from

@mejiaj
Copy link
Contributor

mejiaj commented Jun 5, 2023

Semi-related to uswds/uswds-sandbox#100.

@amyleadem amyleadem added Affects: Guidance Relates to guidance Needs: Discussion We need to discuss an approach to this issue Type: Feature Request New functionality Affects: Content Relates to content Status: Stale No new activity after a few weeks Status: Triage We're triaging this issue and grooming if necessary and removed Status: Stale No new activity after a few weeks labels Jun 6, 2023
@amyleadem
Copy link
Contributor

Transferring this issue to the uswds-site documentation repo since any related updates would likely live there.

@amyleadem amyleadem transferred this issue from uswds/uswds Jun 6, 2023
@amyleadem amyleadem changed the title Document a full Webpack example USWDS-Site: Document a full Webpack example Jun 6, 2023
@eric-gade
Copy link
Author

eric-gade commented Jun 6, 2023

@bonez0607 The task I was working on at the time was to try and make a basic USWDS template for Bridgetown (a Static Site Generation framework forked from Jekyll), as part of an effort to evaluate different SSGs.

This is as far as I got. I'm not sure if it's correct or if any of it even works, but maybe it's a starting point?

@mejiaj mejiaj removed the Status: Triage We're triaging this issue and grooming if necessary label Jun 22, 2023
@mejiaj mejiaj moved this to Voting Open in USWDS Core Project Data Jun 22, 2023
@mejiaj mejiaj added the Status: Voting Open 👍 Collecting upvotes to measure community interest label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: Voting Open
Development

No branches or pull requests

4 participants