Skip to content

fix(vite-plugin): include source files for development export#303

Merged
V3RON merged 1 commit into
callstackincubator:mainfrom
michaelapollopimentel-svg:codex/include-vite-plugin-src
Jun 12, 2026
Merged

fix(vite-plugin): include source files for development export#303
V3RON merged 1 commit into
callstackincubator:mainfrom
michaelapollopimentel-svg:codex/include-vite-plugin-src

Conversation

@michaelapollopimentel-svg

Copy link
Copy Markdown
Contributor

Summary

@rozenite/vite-plugin exposes a development condition that points at ./src/index.ts, but the package files list only publishes dist and templates. That means consumers or tooling that resolve the development condition from the published package can select a file that is not present in the npm tarball.

This adds src to the published files so the advertised development export resolves.

Validation

  • git diff --check
  • Parsed packages/vite-plugin/package.json as JSON
  • Verified exports["."].development points to an existing file covered by the package files list
  • Confirmed the current published @rozenite/vite-plugin@1.12.0 tarball does not include src/index.ts

I could not run the full pnpm build/test suite in this environment because pnpm/corepack are not installed.

@V3RON V3RON merged commit ff97245 into callstackincubator:main Jun 12, 2026
1 check passed
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