Commit e8e7a50
committed
fix: add prepack script to ensure lib/ is built before publishing
Yarn Berry does not automatically run the `prepare` script during
`yarn pack`. Add `prepack` script to explicitly run `bob build`,
ensuring the `lib/` directory is generated before the tarball is
created.
Fixes #2591 parent 3b19f0e commit e8e7a50
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments