autogypi icon indicating copy to clipboard operation
autogypi copied to clipboard

Upgrade resolve to 1.9.0

Open thiagofelix opened this issue 5 years ago • 0 comments

Hi @jjrv do you see a reason to not upgrade the resolve dependency from ~1.1.7 to ~1.9.0?

I am looking for to use the resolve normalize-options pseudo hook feature available on version 1.9.0

The use case is to be able to compile yoga-layout using yarn pnp node resolution strategy.

After some research it looks like the reason why it is not possible currently is because yoga-layout uses autogypi which uses a version of resolve which doesn't let yarn define a custom normalize-options hook.

My workaround so far is to force a specific yarn resolution on my package.json

"resolutions": {
    "resolve": "1.9.0"
}

Curious to hear your thoughts, thank you!

thiagofelix avatar Jun 10 '19 14:06 thiagofelix