Skip to content

Commit 57bac25

Browse files
authored
examples: @mui/material example re-add ssr.noExternal to vite config (#4861)
Fixes #4857
1 parent 2b20bfb commit 57bac25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/react/start-material-ui/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export default defineConfig({
66
server: {
77
port: 3000,
88
},
9+
ssr: {
10+
noExternal: ['@mui/*'],
11+
},
912
plugins: [
1013
tsConfigPaths({
1114
projects: ['./tsconfig.json'],

0 commit comments

Comments
 (0)