Skip to content

Commit

Permalink
fix: add some packages to peerDependencies and external
Browse files Browse the repository at this point in the history
Signed-off-by: LE SAULNIER Kevin <[email protected]>
  • Loading branch information
LE SAULNIER Kevin committed Jan 29, 2024
1 parent c97174e commit 6042668
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@
},
"peerDependencies": {
"@emotion/styled": "^11.8.1",
"@mui/system": "^5.5.3",
"deck.gl": "^8.9.18",
"geolib": "^3.3.4",
"mapbox-gl": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-intl": "^6.0.0"
"react-intl": "^6.0.0",
"react-map-gl": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.10",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
rollupOptions: {
// make sure to externalize deps that shouldn't be bundled
// into your library
external: ['react', 'react-dom', 'react-intl'],
external: ['react', 'react-dom', 'react-intl', '@mui/system'],
},
},
});

0 comments on commit 6042668

Please sign in to comment.