diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ca10f733d6..5d34d9432e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -234,6 +234,8 @@ jobs: conditions: - [require] - [import] + - [browser, require] + - [browser, import] include: - conditions: [] diff --git a/packages/govuk-frontend/package.json b/packages/govuk-frontend/package.json index eaf95c5cb2..dd30e542a2 100644 --- a/packages/govuk-frontend/package.json +++ b/packages/govuk-frontend/package.json @@ -13,6 +13,12 @@ ], "exports": { ".": { + "browser": { + "sass": "./dist/govuk/all.scss", + "import": "./dist/govuk/all.bundle.mjs", + "require": "./dist/govuk/all.bundle.js", + "default": "./dist/govuk/all.bundle.js" + }, "sass": "./dist/govuk/all.scss", "import": "./dist/govuk/all.mjs", "require": "./dist/govuk/all.bundle.js",