Skip to content

Commit

Permalink
try and fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
rommguy committed Mar 2, 2024
1 parent a5239db commit 7453f68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion exampleDist/vite.svg

This file was deleted.

6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ export default defineConfig(({ mode }) => {
const isProdBuild = mode !== "example";

if (!isProdBuild) {
return { plugins: [react()], build: { outDir: "exampleDist" } };
return {
plugins: [react()],
build: { outDir: "exampleDist" },
publicDir: "exampleDist",
};
}

return {
Expand Down

0 comments on commit 7453f68

Please sign in to comment.