Skip to content

feat(bake): css, production build, dev separateSSRGraph=false - #14622

Merged
Jarred-Sumner merged 30 commits into
mainfrom
dave/bake-css
Oct 27, 2024
Merged

Jarred-Sumner merged 30 commits into
mainfrom
dave/bake-css

Conversation

@small-angel

@small-angel small-angel commented Oct 17, 2024 •

Copy link
Copy Markdown
Contributor

No description provided.

@robobun

robobun commented Oct 17, 2024 •

Copy link
Copy Markdown
Collaborator

❌ @Jarred-Sumner, your commit 13d216b has 1 failures in #5356:

  • test/js/node/test/parallel/child-process-exec-timeout-kill.test.js - 1 failing on 🍎 aarch64
  • Comment thread src/bake/bun-framework-rsc/server.tsx Resolved
    dave caruso added 2 commits October 17, 2024 19:50
    Comment thread src/bundler/bundle_v2.zig Resolved
    Comment thread src/bundler/bundle_v2.zig Resolved
    @small-angel
    small-angel marked this pull request as ready for review October 18, 2024 04:19
    @small-angel
    small-angel added this pull request to the merge queue Oct 18, 2024
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 18, 2024
    @small-angel
    small-angel added this pull request to the merge queue Oct 19, 2024
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 19, 2024
    @small-angel small-angel changed the title feat(bake): css feat(bake): css, production build, dev separateSSRGraph=false Oct 25, 2024
    Comment thread .vscode/launch.json Resolved
    @Jarred-Sumner
    Jarred-Sumner merged commit e93c5ad into main Oct 27, 2024
    @Jarred-Sumner
    Jarred-Sumner deleted the dave/bake-css branch October 27, 2024 08:57
    alexkahndev pushed a commit to alexkahndev/bun that referenced this pull request Mar 20, 2026
    The react_fast_refresh transform is already implemented in the parser
    and available via Bun.build(), but the Transpiler API hardcodes it to
    false. This prevents per-file React Fast Refresh injection without
    going through the full bundler pipeline.
    
    Use case: unbundled ESM dev servers (similar to Vite) that transpile
    individual .tsx files on the fly and need $RefreshReg$/$RefreshSig$
    calls for hot module replacement. The consumer provides the globals
    at runtime via react-refresh/runtime.
    
    Changes:
    - Parse 'reactFastRefresh' boolean from Transpiler constructor options
    - Pass it through to the parser via config.runtime.react_fast_refresh
      (replaces the hardcoded 'false' introduced in PR oven-sh#14622)
    - Add TypeScript type definition with JSDoc
    alexkahndev pushed a commit to alexkahndev/bun that referenced this pull request May 5, 2026
    The react_fast_refresh transform is already implemented in the parser
    and available via Bun.build(), but the Transpiler API hardcodes it to
    false. This prevents per-file React Fast Refresh injection without
    going through the full bundler pipeline.
    
    Use case: unbundled ESM dev servers (similar to Vite) that transpile
    individual .tsx files on the fly and need $RefreshReg$/$RefreshSig$
    calls for hot module replacement. The consumer provides the globals
    at runtime via react-refresh/runtime.
    
    Changes:
    - Parse 'reactFastRefresh' boolean from Transpiler constructor options
    - Pass it through to the parser via config.runtime.react_fast_refresh
      (replaces the hardcoded 'false' introduced in PR oven-sh#14622)
    - Add TypeScript type definition with JSDoc
    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.

    5 participants