Skip to content

feat: make direct imports production-safe - #8

Merged
birkskyum merged 1 commit into
mainfrom
production-noop
Aug 19, 2026
Merged

feat: make direct imports production-safe#8
birkskyum merged 1 commit into
mainfrom
production-noop

Conversation

@birkskyum

Copy link
Copy Markdown
Member

Summary

  • export the real browser and SSR implementations under the development condition
  • export a children-only no-op implementation by default
  • register server-function observers from the browser entry
  • expose matching types from every entry

Why

Apps with custom server and client entries should be able to import DevToolbar directly without shipping devtools code in production. This moves the environment boundary into the package and lets solid-vite-plugin#317 remove its public virtual devtools module.

Test

  • pnpm build
  • pnpm test
  • pnpm check
  • solid-vite-plugin Start dev suite (63/63)
  • solid-vite-plugin custom entry suite (20/20)

@birkskyum
birkskyum merged commit f7dd9d0 into main Aug 19, 2026
3 checks 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.

1 participant