serverless-webpack icon indicating copy to clipboard operation
serverless-webpack copied to clipboard

Yarn resolution not updated using file:

Open Hideman85 opened this issue 3 years ago • 0 comments

I have the following:

.
├── blankModule
│   ├── blank.js
│   └── package.json
├── jest.config.js
├── node_modules
├── package.json
├── src
├── webpack.config.js
└── yarn.lock


// package.json
{
  //  ...
  "resolutions": {
    "blank": "file:./blankModule"
  }
}


$ yarn serverless webpack --out .webpack

// .webpack/dependencies/package.json
{
  //  ...
  "resolutions": {
    "blank": "file:./blankModule" // Should be updated to "file:../../blankModule"
  }
}

I see from the readme that local-modules are supported and I'm seeing the resolution is copied but does not seem updated :thinking:

Hideman85 avatar Jul 07 '22 13:07 Hideman85