[SOLVED] Is moralis a very heavy package?

Hey guys,

I have built a NextJs site using Moralis. It’s a relatively small website, with about 5 pages. There’s very few images, etc, however the size of my repo is 1.1GB.

I’m new to web design and don’t know whether this is normal or not, or whether this will effect the speed of my website. From reading online forums, I understand that 1.1Gb is extremely large for a 5 page website.

Is this because Moralis is a very heavy package? If so, is there anything I can do to reduce the size?

Thanks!

Here is my package.json for reference:

  "dependencies": {
    "@chakra-ui/react": "^2.3.6",
    "@emotion/react": "^11.10.4",
    "@emotion/styled": "^11.10.4",
    "dotenv": "^16.0.3",
    "express": "^4.18.2",
    "framer-motion": "^7.6.1",
    "moralis-v1": "^1.11.0",
    "next": "latest",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-moralis": "^1.4.2",
    "react-redux": "^8.0.4",
    "redux": "^4.2.0",
    "web3uikit": "^0.1.159"
  },
  "devDependencies": {
    "@types/node": "17.0.35",
    "@types/react": "18.0.9",
    "@types/react-dom": "18.0.5",
    "autoprefixer": "^10.4.7",
    "postcss": "^8.4.14",
    "tailwindcss": "^3.1.2",
    "typescript": "4.7.2"
  }
}

you don’t have 1GB from moralis, you have to check only the deployment folder and not the entire development folder with all the packages

1 Like