Skip to content

Commit

Permalink
[EAK-549] Website: return smoothscroll-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
NastaLeo committed Sep 30, 2024
1 parent fcfce69 commit 3af17af
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 26 deletions.
50 changes: 27 additions & 23 deletions docs/website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"dependencies": {
"@exadel/esl": "^4.9.4",
"@juggle/resize-observer": "^3.4.0",
"@webcomponents/custom-elements": "1.6.0",
"@webcomponents/webcomponents-platform": "1.0.1",
"chokidar": "^3.5.3",
"prism-themes": "^1.9.0",
"prismjs": "^1.29.0",
"promise-polyfill": "^8.3.0",
"rss-parser": "^3.13.0"
"rss-parser": "^3.13.0",
"smoothscroll-polyfill": "^0.4.4"
},
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-dev-server": "^2.0.4",
"@types/smoothscroll-polyfill": "^0.3.1",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"chokidar-cli": "^3.0.0",
Expand Down
3 changes: 3 additions & 0 deletions docs/website/src/polyfill-light.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
import {ResizeObserver} from '@juggle/resize-observer';
window.ResizeObserver = window.ResizeObserver || ResizeObserver;

import SmoothScroll from 'smoothscroll-polyfill';
SmoothScroll.polyfill();

0 comments on commit 3af17af

Please sign in to comment.