Serverless package over 80MB because it includes all the node_modules files as well

When trying to run “sls package” i see the project file size as more than 75MB but when my colleague runs it for the same project it comes out 12MB(both on windows 10) with win32, node 12.22.7, framework 3.7.5, plugin 6.1.5, SDK 4.3.2. We noticed that “npm ls --all” lists aws-sdk etc … but it isnt present in my colleague machine. Also when running “sls package” at first it says “excluding dev dependencies …” but it includes them afterwards.

comparison between the two machines: