You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running prisma generate inside afterBundling(), we won't need the prisma package anymore. we could run yarn remove after that, also we won't need the prisma-appsync package if its being compiled. Removing them reduces the size significantly.
Zipped file size reduced from 75MB to 19MB
// added some other clean up also.
"yarn prisma generate",
"rm -rf node_modules/.prisma/client/query-engine-debian-openssl-1.1.x",
"rm -rf node_modules/@prisma/engines-version/*",
"rm -rf node_modules/@prisma/engines/*",
"yarn remove prisma",
"yarn remove prisma-appsync",
Is there any reason to keep the packages?
The text was updated successfully, but these errors were encountered:
After running prisma generate inside afterBundling(), we won't need the prisma package anymore. we could run yarn remove after that, also we won't need the prisma-appsync package if its being compiled. Removing them reduces the size significantly.
Zipped file size reduced from 75MB to 19MB
Is there any reason to keep the packages?
The text was updated successfully, but these errors were encountered: