Skip to content

Commit dd6a5d2

Browse files
Remove polyfills
1 parent e717b66 commit dd6a5d2

File tree

3 files changed

+0
-58
lines changed

3 files changed

+0
-58
lines changed

docs/installation/installing-with-npm.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ Rather than using `initAll`, you can initialise individual components used by yo
101101
import initRadios from 'nhsuk-frontend/packages/components/radios/radios.js';
102102
import initSkipLink from 'nhsuk-frontend/packages/components/skip-link/skip-link.js';
103103

104-
// Polyfills
105-
import 'nhsuk-frontend/packages/polyfills.js';
106-
107104
// Initialise components
108105
document.addEventListener('DOMContentLoaded', () => {
109106
initRadios();

packages/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ const initRadios = require('./components/radios/radios')
1111
const initSkipLink = require('./components/skip-link/skip-link')
1212
const initTabs = require('./components/tabs/tabs')
1313

14-
require('./polyfills.js')
15-
1614
/**
1715
* Use this function to initialise nhsuk-frontend components within a
1816
* given scope. This function is called by default with the document

packages/polyfills.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)