Skip to content

Fix Sanitizer export for Webpack 🐛.#4459

Merged
thisisdano merged 1 commit into
developfrom
jm-sanitizer-module-export
Jan 16, 2022
Merged

Fix Sanitizer export for Webpack 🐛.#4459
thisisdano merged 1 commit into
developfrom
jm-sanitizer-module-export

Conversation

@mejiaj

@mejiaj mejiaj commented Jan 13, 2022

Copy link
Copy Markdown
Contributor

Description

Simplified Sanitizer script export. The minified file of USWDS.js was not exporting properly. Now the export is simplified and works in both uswds.js and uswds.min.js. Closes #4455.

Additional information

Before you hit Submit, make sure you’ve done whichever of these applies to you:

  • Follow the 18F Front End Coding Style Guide and Accessibility Guide.
  • Run npm test and make sure the tests for the files you have changed have passed.
  • Run your code through HTML_CodeSniffer and make sure it’s error free.
  • Title your pull request using this format: [Website] - [UI component]: Brief statement describing what this pull request solves.

@mejiaj mejiaj marked this pull request as ready for review January 13, 2022 18:37
@thisisdano thisisdano merged commit bcacea1 into develop Jan 16, 2022
@thisisdano thisisdano deleted the jm-sanitizer-module-export branch January 16, 2022 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sanitizer module not exported correctly when using Webpack

2 participants