externalize rollup dependencies

This commit is contained in:
Ulf Gebhardt 2024-11-26 10:07:09 +01:00
parent 0b17cdb624
commit 9acbbbed5b
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -21,6 +21,9 @@ export default {
external: [
'react',
'react-dom',
'react-markdown',
'react/jsx-runtime',
'remark-breaks',
'leaflet',
'react-leaflet',
'react-toastify',
@ -34,5 +37,16 @@ export default {
'prop-types',
'leaflet/dist/leaflet.css',
'@heroicons/react/20/solid',
'@heroicons/react/24/outline/ChevronRightIcon',
'@heroicons/react/24/outline',
'date-fns',
'@heroicons/react/24/outline/InformationCircleIcon',
'@heroicons/react/24/outline/QuestionMarkCircleIcon',
'@heroicons/react/24/outline/ChevronDownIcon',
'axios',
'react-image-crop',
'react-image-crop/dist/ReactCrop.css',
'react-colorful',
'leaflet.locatecontrol/dist/L.Control.Locate.css',
],
}