diff --git a/package.json b/package.json index 4d53d50..f2dc8bd 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,7 @@ "@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/free-solid-svg-icons": "^5.15.3", "@fortawesome/react-fontawesome": "^0.1.14", - "classnames": "^2.3.2", - "react-useportal": "^1.0.17" + "classnames": "^2.3.2" }, "devDependencies": { "@testing-library/dom": "^9.0.0", @@ -36,6 +35,7 @@ "prettier": "2.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-useportal": "^1.0.17", "stylelint": "^14.16.1", "stylelint-config-recommended": "^9.0.0", "typescript": "^4.9.5", diff --git a/vite.config.js b/vite.config.js index 2d657f6..2bdb506 100644 --- a/vite.config.js +++ b/vite.config.js @@ -32,13 +32,13 @@ export default defineConfig({ "classnames", "@fortawesome/fontawesome-svg-core", "@fortawesome/free-solid-svg-icons", - "@fortawesome/react-fontawesome", - "react-useportal" + "@fortawesome/react-fontawesome", ], output: { globals: { react: 'React', 'react-dom': 'ReactDOM', + "classnames": "cs", }, }, },