Skip to content

Commit

Permalink
fix: fix pigment vite integration example
Browse files Browse the repository at this point in the history
  • Loading branch information
Brijesh Bittu committed Jan 28, 2025
1 parent a0fa7c1 commit f54f599
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/material-ui-pigment-css-vite-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"@mui/material-pigment-css": "latest",
"@pigment-css/react": "latest",
"react": "latest",
"react-dom": "latest"
"react-dom": "latest",
"react-is": "latest",
"prop-types": "latest",
"hoist-non-react-statics": "latest"
},
"devDependencies": {
"@pigment-css/vite-plugin": "latest",
Expand Down
3 changes: 3 additions & 0 deletions examples/material-ui-pigment-css-vite-ts/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ const pigmentConfig = {
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), pigment(pigmentConfig)],
optimizeDeps: {
include: ['prop-types', 'react-is', 'hoist-non-react-statics'],
},
});

0 comments on commit f54f599

Please sign in to comment.