You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,12 @@ Launches Vitest test runner.<br>
36
36
### `pnpm test:e2e`
37
37
Launches [Playwright](playwright.config.js) test runner and performs browser tests.
38
38
39
+
### `pnpm fix-hds-shim`
40
+
41
+
Workaround for a packaging issue in `hds-core@6.x`: generates a missing `cookieConsent.js` file that `hds-react` expects but the package does not ship.
42
+
This is run automatically by `pnpm dev` and `pnpm build`. Run it manually if you encounter a `MODULE_NOT_FOUND` error for `hds-core/lib/components/cookie-consent/cookieConsent` after installing dependencies.
43
+
Can be removed once HDS publishes a fixed release.
44
+
39
45
## How to use
40
46
For development:
41
47
- Make sure packages are installed by running `pnpm install` in project root.
0 commit comments