Skip to content

Conversation

@hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Jun 21, 2025

It's not really sound, but let's just see how far we can get with this:

// input
export default Layout;

// output
export default __vite_rsc_wrap_css__(Layout) // check `typeof Layout === 'function'` internally

Copy link
Owner Author

hi-ogawa commented Jun 21, 2025

@hi-ogawa hi-ogawa changed the title feat: rsc css transform for default export identifier feat(rsc,transforms): rsc css transform for default export identifier Jun 21, 2025
@hi-ogawa hi-ogawa marked this pull request as ready for review June 21, 2025 09:01
Copy link
Owner Author

hi-ogawa commented Jun 21, 2025

Merge activity

  • Jun 21, 9:10 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 21, 9:12 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jun 21, 9:22 AM UTC: @hi-ogawa merged this pull request with Graphite.

@hi-ogawa hi-ogawa changed the base branch from 06-21-fix_ensure_server-only_and_client-only_not_externalized to graphite-base/1046 June 21, 2025 09:10
@hi-ogawa hi-ogawa changed the base branch from graphite-base/1046 to main June 21, 2025 09:11
@hi-ogawa hi-ogawa force-pushed the 06-21-feat_rsc_css_transform_for_default_export_identifier branch from 64167b1 to 70245eb Compare June 21, 2025 09:12
@hi-ogawa hi-ogawa merged commit 5970c2b into main Jun 21, 2025
12 checks passed
@hi-ogawa hi-ogawa deleted the 06-21-feat_rsc_css_transform_for_default_export_identifier branch June 21, 2025 09:22
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.

auto css injection improvement

2 participants