Skip to content

Commit

Permalink
rollup issue solved @radix-ui/react-separator
Browse files Browse the repository at this point in the history
  • Loading branch information
modamaan committed Nov 15, 2024
1 parent 55de901 commit 06668cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,17 @@ export default defineConfig(({ mode }) => {
},
},
optimizeDeps: {
include: getPluginDependencies(),
include: [
...getPluginDependencies(),
"@radix-ui/react-separator",
],
},
build: {
outDir: "build",
assetsDir: "bundle",
sourcemap: true,
rollupOptions: {
external: ["@radix-ui/react-separator"],
output: {
manualChunks(id, { getModuleInfo }) {
if (id.includes("node_modules")) {
Expand Down

0 comments on commit 06668cb

Please sign in to comment.