Skip to content

Add read config package#2

Merged
segunadebayo merged 7 commits into
mainfrom
feat/add-read-config-package
Aug 5, 2022
Merged

Add read config package#2
segunadebayo merged 7 commits into
mainfrom
feat/add-read-config-package

Conversation

@anubra266
Copy link
Copy Markdown
Collaborator

Add read config package

@anubra266 anubra266 requested a review from segunadebayo August 5, 2022 12:13
@segunadebayo segunadebayo merged commit f60390d into main Aug 5, 2022
@segunadebayo segunadebayo deleted the feat/add-read-config-package branch August 5, 2022 16:02
Adebesin-Cell added a commit to Adebesin-Cell/panda that referenced this pull request May 8, 2026
#1: lib-manifest cache was module-level + per-process. In watch mode, a parent rebuild + manifest rewrite would not invalidate the cached entry — consumers silently kept reading the old manifest. Reads are sub-millisecond on small JSON, the cache wasn't pulling weight; removed.

chakra-ui#2: panda lib's compilePreset returned false silently on missing source or esbuild error, leaving the manifest pointing at a path that wouldn't resolve at consumer install. Now it throws — lib authors see the failure at build time, consumers don't hit a cryptic resolve error days later.

resolvePresetSource also probes both manifest-relative and cwd-relative locations before bundling, matching detectPresetExport's pre-existing behavior. patchPackageExports now always writes the ./preset entry since compile is no longer optional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants