Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
package.json :
{
"name": "xxx",
"files": ["./dist/"]
}
running npm publish, the dist will not be packed.
Expected Behavior
the dist should be packed.
I just found a workaround: "files": ["dist/"]
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
- npm: 8.5.5
- Node.js: v16.15.0
- OS Name: macos
- System Model Name:
- npm config:
; copy and paste output from `npm config ls` here
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
package.json :
running
npm publish, the dist will not be packed.Expected Behavior
the dist should be packed.
I just found a workaround:
"files": ["dist/"]Steps To Reproduce
Environment
; copy and paste output from `npm config ls` here