Skip to content

USWDS-Site - Bug: Webpack examples do not match #2308

Description

@mahoneycm

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:

image

Migrating to 3.0 page example:
image

Additional context

Related issue #2121

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions