Skip to content

Commit 9f5e461

Browse files
author
Heather Taylor
committed
feat: add svg4everybody polyfill for IE
1 parent b9ae733 commit 9f5e461

File tree

3 files changed

+22
-30
lines changed

3 files changed

+22
-30
lines changed

package-lock.json

Lines changed: 16 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"express-basic-auth": "^1.2.0",
4646
"lodash": "^4.17.5",
4747
"prism-themes": "^1.1.0",
48+
"svg4everybody": "^2.1.9",
4849
"webpack-merge": "^4.2.2"
4950
},
5051
"devDependencies": {

src/js/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
import './init';
33
import './toggler';
44
import './safe-focus';
5+
6+
// VENDOR
7+
const svg4everybody = require('svg4everybody');
8+
9+
svg4everybody();

0 commit comments

Comments
 (0)