Skip to content

Commit 1178401

Browse files
authored
Merge pull request #39 from BioNGFF/fix/mui-theme
move mui to peer dependencies for theme to work
2 parents a8897c9 + 58e00a8 commit 1178401

File tree

6 files changed

+330
-289
lines changed

6 files changed

+330
-289
lines changed

anndata-zarr/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@
2424
"test": "vitest"
2525
},
2626
"dependencies": {
27-
"@mui/icons-material": "^7.2.0",
28-
"@mui/material": "^7.2.0",
2927
"@tanstack/react-query": "^5.85.3",
3028
"lodash": "^4.17.21",
3129
"react-window": "^2.0.2",
3230
"zarrita": "0.5.0"
3331
},
3432
"peerDependencies": {
3533
"react": "^18.2.0",
36-
"react-dom": "^18.2.0"
34+
"react-dom": "^18.2.0",
35+
"@mui/icons-material": "^7.2.0",
36+
"@mui/material": "^7.2.0",
37+
"@emotion/react": "^11.14.0",
38+
"@emotion/styled": "^11.14.1"
3739
},
3840
"devDependencies": {
3941
"@vitejs/plugin-react": "^4.3.3",

anndata-zarr/vite.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ export default defineConfig({
1515
fileName: (format) => `biongff-anndata-zarr.${format}.js`,
1616
},
1717
rollupOptions: {
18-
external: ['react', 'react-dom'],
18+
external: [
19+
'react',
20+
'react-dom',
21+
'@mui/material',
22+
'@mui/icons-material',
23+
'@emotion/react',
24+
'@emotion/styled',
25+
],
1926
output: {
2027
globals: {
2128
react: 'React',

0 commit comments

Comments
 (0)