# Aurelia 2 + Typescript + webpack + Yarn PNP

**URL:** https://discourse.aurelia.io/t/aurelia-2-typescript-webpack-yarn-pnp/5203
**Category:** vNext
**Created:** [July 28, 2023, 2:56pm UTC](https://discourse.aurelia.io/t/aurelia-2-typescript-webpack-yarn-pnp/5203 "2023-07-28T14:56:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![elitemike](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/elitemike/32/690_2.png) [@elitemike](https://discourse.aurelia.io/u/elitemike)
#### Post date: [July 28, 2023, 2:56pm UTC](https://discourse.aurelia.io/t/aurelia-2-typescript-webpack-yarn-pnp/5203/1 "2023-07-28T14:56:47Z")

</div>

As I’m evaluating what I need to do to go to Aurelia 2, I’m trying to ditch as much legacy tooling as I can. I’m already using yarn 3 for my production project, but I’m using the node\_modules linker still. Has anyone been successful in using yarn PNP with Aurelia 2? If so, what needs to be done to the configuration to make it work?

---

<div class="post-metadata">

### Author: ![weagle08](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/weagle08/32/1833_2.png) [@weagle08](https://discourse.aurelia.io/u/weagle08)
#### Post date: [August 1, 2023, 1:33am UTC](https://discourse.aurelia.io/t/aurelia-2-typescript-webpack-yarn-pnp/5203/2 "2023-08-01T01:33:00Z")

</div>

Can’t answer your question, but I’m looking to do the same soon, and was wondering why yarn over plain ole npm? I’ve never seen/understood the need for yarn as I’ve never had issues with the basic package manager.

---

<div class="post-metadata">

### Author: ![simonfox](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/simonfox/32/79_2.png) [@simonfox](https://discourse.aurelia.io/u/simonfox)
#### Post date: [August 2, 2023, 10:17pm UTC](https://discourse.aurelia.io/t/aurelia-2-typescript-webpack-yarn-pnp/5203/3 "2023-08-02T22:17:38Z")

</div>

I’ve just completed upgrading the tooling of our Aurelia 1 application, and moved to a monorepo.

Evaluated npm, pnpm and yarn, and we’ve landed on pnpm. Workspace tooling in pnpm just works, and can now make use of incremental builds with typescript projects. Really happy with the result.

---

<div class="post-metadata">

### Author: ![simonfox](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/simonfox/32/79_2.png) [@simonfox](https://discourse.aurelia.io/u/simonfox)
#### Post date: [August 2, 2023, 10:19pm UTC](https://discourse.aurelia.io/t/aurelia-2-typescript-webpack-yarn-pnp/5203/4 "2023-08-02T22:19:26Z")

</div>

We were using yarn 1, typescript via gulp and dumberjs. Still use dumberjs.
