Skip to content

Commit 511aa21

Browse files
committed
preserveSymlinks seems to fix rather than changing mode
1 parent 8584293 commit 511aa21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export default defineConfig({
1111
open: process.env.NODE_ENV !== "production",
1212
}, // maintain the old webpack behavior in dev
1313
plugins: [react()],
14-
mode: "production", // Fixes https://github.com/rjsf-team/react-jsonschema-form/issues/3228
1514
resolve: {
15+
preserveSymlinks: true, // Fixes https://github.com/rjsf-team/react-jsonschema-form/issues/3228
1616
alias: {
1717
// The following is needed to allow the material ui v4 and v5 themes to properly load the css
1818
"@mui/styles": path.resolve("./node_modules", "@mui/styles"),

0 commit comments

Comments
 (0)