uswds-site
uswds-site copied to clipboard
USWDS-Site - Bug: Webpack examples do not match
Describe the bug
We have two examples of a webpack config on the site. One on the Documentation page, and another on the Migrating to 3.0 page.
There is a discrepancy between the two examples. In the includePaths
array, both include "./node_modules/@uswds/uswds/packages"
but only the migration page includes "./node_modules/@uswds"
.
Underneath the example our guidance does read
This array needs to include "./node_modules/@uswds/uswds/packages".
Expected Behavior
The guidance / code snippets should match.
We should verify if the additional line ("./node_modules/@uswds",
) is necessary for proper webpack compilation.
If so, add it to the Documentation page example.
If not, consider removing from the Migrating to 3.0 page.
Screenshots
Documentation page example:
Migrating to 3.0 page example:
Additional context
Related issue #2121
Code of Conduct
- [X] I agree to follow this project's Code of Conduct.
- [X] I checked the current issues for duplicate bug reports.