github cloudflare/workers-sdk @cloudflare/build-output-utils@1.0.0-rc.6

latest releases: @cloudflare/autoconfig@0.14.0, @cloudflare/vite-plugin@2.0.0-rc.7, @cloudflare/vitest-plugin@1.10.1...
pre-releaseone hour ago

Minor Changes

  • #17164 7072797 Thanks @petebacondarwin! - Create missing project files and install their tooling when autoconfig generates cloudflare.config.ts.

    Projects get a local manifest and TypeScript config where needed, along with default cf dev and cf build scripts when those scripts are missing. Interactive setup asks before creating these files; non-interactive runs, such as CI, accept the additions without prompting. Existing scripts, compiler settings, and the project's choice of build tool are preserved, including Vite runners declared at the workspace root. New manifests set "type": "module" so Node loads cloudflare.config.ts without a module-type warning. Existing manifests keep their module type. Autoconfig reports when an explicit CommonJS package setting prevents it from writing a usable cloudflare.config.ts.

    For static sites that serve the project root, autoconfig adds node_modules, .cloudflare, and the new configuration and package-manager files to .assetsignore. Wrangler's asset watcher, local asset serving, and build output skip directories according to those rules, which you can edit to include paths you want to serve. Local dev still follows directory symlinks, but does not revisit ancestor directories.

    Builds do not support broken asset symlinks. A missing target fails the build unless .assetsignore excludes the link regardless of whether it points to a file or a directory.

    writeAssets accepts an optional filter. It does not apply .assetsignore when no filter is provided. Wrangler uses the shared createAssetsCopyFilter helper to honor .assetsignore and preserve asset metadata in build output.

  • #17234 7217f26 Thanks @petebacondarwin! - Share scaffolded asset ignore patterns and support fallback filtering for static Build Output.

    Consumers can pass the scaffolded rules as fallback patterns to createAssetsCopyFilter and supply the resulting filter to writeAssets. Fallbacks apply only when .assetsignore is missing, and writeAssets can report skipped entries through onSkip without modifying the source tree.

Patch Changes

  • Updated dependencies []:
    • @cloudflare/config@1.0.0-rc.5

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.