Skip to content

Commit 9851c58

Browse files
committed
Add the NHS polyfills
We should add the NHS polyfills, else components will break in IE11. This is part of the instructions for setting up the NHS frontend but this had been missed until now. https://github.com/nhsuk/nhsuk-frontend/blob/master/docs/installation/installing-with-npm.md#option-2-import-javascript-using-modules
1 parent e34e57e commit 9851c58

File tree

1 file changed

+1
-0
lines changed
  • ntbs-service/wwwroot/source

1 file changed

+1
-0
lines changed

ntbs-service/wwwroot/source/app.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import * as Sentry from '@sentry/browser';
1212
import * as SentryIntegrations from '@sentry/integrations';
1313
// @ts-ignore
1414
import Details from '../../node_modules/nhsuk-frontend/packages/components/details/details';
15+
import '../../node_modules/nhsuk-frontend/packages/polyfills';
1516
import VueAccessibleModal from 'vue-accessible-modal'
1617
import cssVars from 'css-vars-ponyfill';
1718
// Components

0 commit comments

Comments
 (0)