You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bud build
[bud@6.6.1] [sage] [api] › ✘ error
bud.entry
Array must contain at least 2 element(s)
Expected object, received array
import item must be a string.
usage docs: https://bud.js.org/docs/bud.entry
[bud@6.6.1] [sage] › ✘ error exiting with code 1
The text was updated successfully, but these errors were encountered:
At first I thought I wanted to enforce not mixing/matching styles of import and would just update documentation. But, on second thought I decided it's better to stick to the current API -- the cost of maintaining it is essentially just one reducer.
- Fix: #1890
- Improve unit test: `sources/@roots/bud-api/src/methods/entry/index.test.ts`
- Add reproduction: `tests/reproductions/issue-1890`
- Add reproduction test: `tests/reproductions/issue-1890.test.ts`
refers:
- #1890
## Type of change
**PATCH: backwards compatible change**
This PR includes breaking changes to the following core packages:
- none
This PR includes breaking changes to the follow extensions:
- none
## Dependencies
### Adds
- none
### Removes
- none
Describe the issue
Try to use
bud.entry
withimport
as described in the docs. Examples:Actual Behavior
The text was updated successfully, but these errors were encountered: