© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Lars
German developer, who likes to play with everything that comes in his way
There is no reason why yarn should inpact webpack. It installs the same dependencies like npm.
Personally I don´t see any benefits from yarn.
Pankaj Patel
Blog, Tech, Photography etc.
There were benefits of yarn but now as npm has package-lock.json, need to use yarn is very minimal.
package-lock.json
Franz
I reference a Sitepoint article that also suggests huge time savings as well sitepoint.com/yarn-vs-npm . However, my question was how does yarn play with webpack.
Like I said it should not be any difference between npm and yarn. Both install the same dependencies. Webpack uses these dependencies.
Why do you think that npm and yarn behave differently with webpack?
I don't believe anything atm. Was asking the question to see if anyone used them together and to find out their experience
Pavan Mehta
JS Development and Everything in Between
Franz Pouchet Yes they work in exactly the same way as it works with npm. No issues with it.