During the upgrade to uswds version 3.0.1 in 5ee0e83fbeab63ef5da9ba2204b6a00806045af0, we updated the source directories for images and fonts, but missed the javascript directory change. This is causing some components to not act correctly (for example the accordions at https://newjersey.github.io/njwds/components/detail/accordion--default.html stay fully expanded on load and cannot collapse).
This applies the same fix from those directories to the js directory for uswds.
Test Plan
Run build locally and confirmed that the js files appear again in the dist folder.
I also ran npm run build-docs locally and opened the Borderless Accordion example (at build/components/detail/accordion--default.html), and made sure the accordions work again.
Summary
During the upgrade to uswds version 3.0.1 in 5ee0e83fbeab63ef5da9ba2204b6a00806045af0, we updated the source directories for images and fonts, but missed the javascript directory change. This is causing some components to not act correctly (for example the accordions at https://newjersey.github.io/njwds/components/detail/accordion--default.html stay fully expanded on load and cannot collapse).
This applies the same fix from those directories to the js directory for uswds.
Test Plan
Run build locally and confirmed that the js files appear again in the dist folder.
I also ran
npm run build-docs
locally and opened the Borderless Accordion example (at build/components/detail/accordion--default.html), and made sure the accordions work again.