Open rehanzfr opened 1 year ago
I am experimenting with Taxonomy. I have updated the packages as below and give it a shot at Vercel. The vercel is giving error as below:
Error: The Edge Function "api/og" size is 1.02 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size
Is size limit get increased with new packages or I am missing something?
Packages: "dependencies": { "@editorjs/code": "^2.8.0", "@editorjs/editorjs": "^2.26.5", "@editorjs/embed": "^2.5.3", "@editorjs/header": "^2.7.0", "@editorjs/inline-code": "^1.4.0", "@editorjs/link": "^2.5.0", "@editorjs/list": "^1.8.0", "@editorjs/paragraph": "^2.9.0", "@editorjs/table": "^2.2.1", "@hookform/resolvers": "^3.1.0", "@next-auth/prisma-adapter": "^1.0.6", "@prisma/client": "^4.13.0", "@radix-ui/react-accessible-icon": "^1.0.2", "@radix-ui/react-accordion": "^1.1.1", "@radix-ui/react-alert-dialog": "^1.0.3", "@radix-ui/react-aspect-ratio": "^1.0.2", "@radix-ui/react-avatar": "^1.0.2", "@radix-ui/react-checkbox": "^1.0.3", "@radix-ui/react-collapsible": "^1.0.2", "@radix-ui/react-context-menu": "^2.1.3", "@radix-ui/react-dialog": "^1.0.3", "@radix-ui/react-dropdown-menu": "^2.0.4", "@radix-ui/react-hover-card": "^1.0.5", "@radix-ui/react-label": "^2.0.1", "@radix-ui/react-menubar": "^1.0.2", "@radix-ui/react-navigation-menu": "^1.1.2", "@radix-ui/react-popover": "^1.0.5", "@radix-ui/react-progress": "^1.0.2", "@radix-ui/react-radio-group": "^1.1.2", "@radix-ui/react-scroll-area": "^1.0.3", "@radix-ui/react-select": "^1.2.1", "@radix-ui/react-separator": "^1.0.2", "@radix-ui/react-slider": "^1.1.1", "@radix-ui/react-slot": "^1.0.1", "@radix-ui/react-switch": "^1.0.2", "@radix-ui/react-tabs": "^1.0.3", "@radix-ui/react-toast": "^1.1.3", "@radix-ui/react-toggle": "^1.0.2", "@radix-ui/react-toggle-group": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.5", "@vercel/analytics": "^1.0.0", "@vercel/og": "^0.5.3", "class-variance-authority": "^0.5.2", "clsx": "^1.2.1", "cmdk": "^0.2.0", "contentlayer": "^0.3.1", "date-fns": "^2.29.3", "lucide-react": "^0.176.0", "next": "^13.3.1", "next-auth": "^4.22.1", "next-contentlayer": "^0.3.1", "next-themes": "^0.2.1", "nodemailer": "^6.9.1", "postmark": "^3.0.15", "prop-types": "^15.8.1", "raw-body": "^2.5.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-editor-js": "^2.1.0", "react-hook-form": "^7.43.9", "react-textarea-autosize": "^8.4.1", "sharp": "^0.32.0", "shiki": "^0.14.1", "stripe": "^12.2.0", "tailwind-merge": "^1.12.0", "tailwindcss-animate": "^1.0.5", "zod": "^3.21.4" }, "devDependencies": { "@commitlint/cli": "^17.6.1", "@commitlint/config-conventional": "^17.6.1", "@ianvs/prettier-plugin-sort-imports": "^3.7.2", "@tailwindcss/line-clamp": "^0.4.4", "@tailwindcss/typography": "^0.5.9", "@types/node": "^18.16.0", "@types/react": "18.0.38", "@types/react-dom": "18.0.11", "autoprefixer": "^10.4.14", "eslint": "^8.39.0", "eslint-config-next": "13.3.1", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-tailwindcss": "^3.11.0", "husky": "^8.0.3", "mdast-util-toc": "^6.1.1", "postcss": "^8.4.23", "prettier": "^2.8.8", "prettier-plugin-tailwindcss": "^0.2.7", "pretty-quick": "^3.1.3", "prisma": "^4.13.0", "rehype": "^12.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-pretty-code": "^0.9.5", "rehype-slug": "^5.1.0", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "tailwindcss": "^3.3.1", "typescript": "5.0.4", "unist-util-visit": "^4.1.2"
+1
I am experimenting with Taxonomy. I have updated the packages as below and give it a shot at Vercel. The vercel is giving error as below:
Error: The Edge Function "api/og" size is 1.02 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size
Is size limit get increased with new packages or I am missing something?
Packages: "dependencies": { "@editorjs/code": "^2.8.0", "@editorjs/editorjs": "^2.26.5", "@editorjs/embed": "^2.5.3", "@editorjs/header": "^2.7.0", "@editorjs/inline-code": "^1.4.0", "@editorjs/link": "^2.5.0", "@editorjs/list": "^1.8.0", "@editorjs/paragraph": "^2.9.0", "@editorjs/table": "^2.2.1", "@hookform/resolvers": "^3.1.0", "@next-auth/prisma-adapter": "^1.0.6", "@prisma/client": "^4.13.0", "@radix-ui/react-accessible-icon": "^1.0.2", "@radix-ui/react-accordion": "^1.1.1", "@radix-ui/react-alert-dialog": "^1.0.3", "@radix-ui/react-aspect-ratio": "^1.0.2", "@radix-ui/react-avatar": "^1.0.2", "@radix-ui/react-checkbox": "^1.0.3", "@radix-ui/react-collapsible": "^1.0.2", "@radix-ui/react-context-menu": "^2.1.3", "@radix-ui/react-dialog": "^1.0.3", "@radix-ui/react-dropdown-menu": "^2.0.4", "@radix-ui/react-hover-card": "^1.0.5", "@radix-ui/react-label": "^2.0.1", "@radix-ui/react-menubar": "^1.0.2", "@radix-ui/react-navigation-menu": "^1.1.2", "@radix-ui/react-popover": "^1.0.5", "@radix-ui/react-progress": "^1.0.2", "@radix-ui/react-radio-group": "^1.1.2", "@radix-ui/react-scroll-area": "^1.0.3", "@radix-ui/react-select": "^1.2.1", "@radix-ui/react-separator": "^1.0.2", "@radix-ui/react-slider": "^1.1.1", "@radix-ui/react-slot": "^1.0.1", "@radix-ui/react-switch": "^1.0.2", "@radix-ui/react-tabs": "^1.0.3", "@radix-ui/react-toast": "^1.1.3", "@radix-ui/react-toggle": "^1.0.2", "@radix-ui/react-toggle-group": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.5", "@vercel/analytics": "^1.0.0", "@vercel/og": "^0.5.3", "class-variance-authority": "^0.5.2", "clsx": "^1.2.1", "cmdk": "^0.2.0", "contentlayer": "^0.3.1", "date-fns": "^2.29.3", "lucide-react": "^0.176.0", "next": "^13.3.1", "next-auth": "^4.22.1", "next-contentlayer": "^0.3.1", "next-themes": "^0.2.1", "nodemailer": "^6.9.1", "postmark": "^3.0.15", "prop-types": "^15.8.1", "raw-body": "^2.5.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-editor-js": "^2.1.0", "react-hook-form": "^7.43.9", "react-textarea-autosize": "^8.4.1", "sharp": "^0.32.0", "shiki": "^0.14.1", "stripe": "^12.2.0", "tailwind-merge": "^1.12.0", "tailwindcss-animate": "^1.0.5", "zod": "^3.21.4" }, "devDependencies": { "@commitlint/cli": "^17.6.1", "@commitlint/config-conventional": "^17.6.1", "@ianvs/prettier-plugin-sort-imports": "^3.7.2", "@tailwindcss/line-clamp": "^0.4.4", "@tailwindcss/typography": "^0.5.9", "@types/node": "^18.16.0", "@types/react": "18.0.38", "@types/react-dom": "18.0.11", "autoprefixer": "^10.4.14", "eslint": "^8.39.0", "eslint-config-next": "13.3.1", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-tailwindcss": "^3.11.0", "husky": "^8.0.3", "mdast-util-toc": "^6.1.1", "postcss": "^8.4.23", "prettier": "^2.8.8", "prettier-plugin-tailwindcss": "^0.2.7", "pretty-quick": "^3.1.3", "prisma": "^4.13.0", "rehype": "^12.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-pretty-code": "^0.9.5", "rehype-slug": "^5.1.0", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "tailwindcss": "^3.3.1", "typescript": "5.0.4", "unist-util-visit": "^4.1.2"