Skip to content

Commit

Permalink
fix: update externals
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff committed Dec 13, 2024
1 parent 2635c5d commit 4c6194f
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions packages/epo-react-lib/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import react from "@vitejs/plugin-react";
import dts from "vite-plugin-dts";
import banner2 from "rollup-plugin-banner2";
import postcss from "./postcss.config";
import { peerDependencies, dependencies } from "./package.json";

const defaultFormat = "es";

Expand Down Expand Up @@ -125,23 +126,13 @@ export default defineConfig({
}),
],
external: [
"@castiron/style-mixins",
"@headlessui/react",
"classnames",
"flickity",
"focus-trap",
"i18next",
...Object.keys(dependencies),
...Object.keys(peerDependencies),
/^lodash/,
"next/link",
"react",
"react/jsx-runtime",
"react-dom",
"react-i18next",
"react-player/base",
"react-player/youtube",
"react-share",
"react-slider",
"styled-components",
],
output: {
exports: "named",
Expand Down

0 comments on commit 4c6194f

Please sign in to comment.