diff --git a/package.json b/package.json index b56943a67..f78dedd63 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,6 @@ "react-resize-detector": "^9.1.0", "react-select": "^5.8.0", "react-window": "^1.8.10", - "smoothscroll-polyfill": "^0.4.4", "styled-system": "^5.1.4" }, "husky": { diff --git a/rollup.config.js b/rollup.config.js index ab3f7b3fe..318acce18 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -35,7 +35,6 @@ const GLOBALS = { classnames: "t", "react-input-autosize": "AutosizeInput", "html-parse-stringify2": "HTML", - "smoothscroll-polyfill": "smoothscroll", "react-fast-compare": "isEqual", "path-to-regexp": "pathToRegexp", "react-is": "reactIs", @@ -54,7 +53,7 @@ const CORE_PLUGINS = [ commonjs({ /* include: include all items in node_modules folders (in entire monorepo) */ include: [/node_modules/], - /* namedExports: sometimes commonjs can't resolve named exports from certain libraries, + /* namedExports: sometimes commonjs can't resolve named exports from certain libraries, ex: import {exportName} from "package-name"; => exportName module not found in those cases, it needs to be added as ["package-name"]: "exportName" here */ namedExports: { diff --git a/src/Tabs/TabScrollIndicators.tsx b/src/Tabs/TabScrollIndicators.tsx index 20f630636..32d0d2661 100644 --- a/src/Tabs/TabScrollIndicators.tsx +++ b/src/Tabs/TabScrollIndicators.tsx @@ -1,7 +1,6 @@ // @ts-nocheck import styled from "styled-components"; import React from "react"; -import smoothscroll from "smoothscroll-polyfill"; import TabScrollIndicator from "./TabScrollIndicator"; const TabScrollIndicatorContainer = styled.div(({ width, theme }) => ({ position: "absolute", @@ -37,7 +36,6 @@ class TabScrollIndicators extends React.Component