タグ

viteに関するefclのブックマーク (103)

  • Fresh 2.3: Zero JS by default, View Transitions, and Temporal support | Deno

    efcl
    efcl 2026/04/27
    Freshフレームワークのv2.3リリース。 静的ページでデフォルトではJavaScriptを出力しないように変更、View Transitions APIのサポート、`app.ws()`によるWebSocketのサポート、Vite統合の改善。 CSP nonceの自動生成、CIDR形式によるIPフィル
  • Vite+ の異常なタスクランナー: vite-task は如何にしてキャッシュの手動依存管理をなくしたか

    原題『Vite+の異常なタスクランナー または vite-task は如何にしてキャッシュの手動依存管理を止めてファイルアクセスを自動捕捉するようになったか』[1] 先日、ついに Vite+ の alpha 版がリリースされました。oxc エコシステムの全面バックアップを受けた高速なネイティブ実装ツールチェーンが揃い踏みしており、開発コミュニティも沸き立っています。 私も仕事で扱っているプロジェクトを手元で Vite+ に置き換えてみたのですが、 vp (ヴイピー) 鬼はえええ!このまま遅いやつら全部 Vite+ に置き換えていこうぜ! という気持ちになりました。 そんな Vite+ ですが、Rolldown や oxlint, oxfmt に紛れて、かなり面白いことをしているツールが入っています。vite-task です。 vite-task: キャッシュの手動依存管理からの解放 vit

    Vite+ の異常なタスクランナー: vite-task は如何にしてキャッシュの手動依存管理をなくしたか
    efcl
    efcl 2026/03/24
    Vite+のrunのキャッシュの仕組みについて
  • Announcing Vite+ Alpha

    We’re excited to open-source Vite+ under the MIT license. Vite+ is a new unified toolchain and entry point to web application development that manages your runtime, package manager, and frontend toolchain. Give it a try today! What is Vite+? ​ Vite+ combines Vite, Vitest, Oxlint, Oxfmt, Rolldown, and tsdown into a single, unified web development toolchain for developing, testing, linting, formatti

    Announcing Vite+ Alpha
    efcl
    efcl 2026/03/15
    Vite+ Alphaリリース。 Vite、Vitest、Rolldown、Oxlint、Oxfmtなどを統合したCLIツール。 `vp dev`/`vp build`/`vp test`/`vp check`などのコマンドで、開発サーバ、ビルド、テスト、Lint、フォーマットを1つのツールで実行できる。 `vp env`でのNode.j
  • Vite 8.0 is out!

    Vite 8.0 is out! ​ March 12, 2026 We're thrilled to announce the stable release of Vite 8! When Vite first launched, we made a pragmatic bet on two bundlers: esbuild for speed during development, and Rollup for optimized production builds. That bet served us well for years. We're very grateful to the Rollup and esbuild maintainers. Vite wouldn't have succeeded without them. Today, it resolves into

    Vite 8.0 is out!
    efcl
    efcl 2026/03/14
    Vite 8.0リリース。 esbuild + Rollupの二重バンドラー構成をRustベースの統合バンドラーであるRolldownに置き換え。 lightningcssが標準の依存関係に変更。 ビルトインのDevtools、TypeScriptのパスエイリアス解決(`resolve.tsconfigPaths`)のサポ
  • Announcing Vitest 4.1

    Vitest 4.1 is out! ​March 12, 2026 The next Vitest minor is here ​Today, we are thrilled to announce Vitest 4.1 packed with new exciting features! Quick links: DocsTranslations: 简体中文GitHub ChangelogIf you've not used Vitest before, we suggest reading the Getting Started and Features guides first. We extend our gratitude to the over 713 contributors to Vitest Core and to the maintainers and contrib

    Announcing Vitest 4.1
    efcl
    efcl 2026/03/14
    Vitest 4.1リリース。 Vite 8のサポート、テストケースにタグを付けてフィルタリングできるTest Tags機能の追加。 `test.extend`での型推論の改善、`aroundEach`/`aroundAll`フックの追加。 `vi.defineHelper()`でスタックトレースからヘルパー関
  • Astro 6.0 | Astro

    Astro 6 is here! Astro 6 introduces a broad set of new capabilities, including a built-in Fonts API, Content Security Policy API, and support for Live Content Collections that work with your externally-hosted content through the unified Astro content layer. Alongside these new features, we also completed a major refactor of the Astro dev server and much of the build pipeline. Powered by Vite’s new

    Astro 6.0 | Astro
    efcl
    efcl 2026/03/11
    Astro 6.0リリース。 ViteのEnvironment APIを使った開発サーバーの刷新により、開発時にもCloudflare WorkersやBun/Denoなどの本番ランタイムで実行可能に。 フォント管理を自動化するFonts APIの追加、リクエスト時にCMSやAPIのデータを取
  • How we rebuilt Next.js with AI in one week

    *This post was updated at 12:35 pm PT to fix a typo in the build time benchmarks. Last week, one engineer and an AI model rebuilt the most popular front-end framework from scratch. The result, vinext (pronounced "vee-next"), is a drop-in replacement for Next.js, built on Vite, that deploys to Cloudflare Workers with a single command. In early benchmarks, it builds production apps up to 4x faster a

    How we rebuilt Next.js with AI in one week
    efcl
    efcl 2026/02/25
    CloudflareによるNext.js互換フレームワークvinextについて。 Next.jsのルーティング、React Server Components、Server Actionsなどの機能をViteベースで再実装している。
  • Vite 8 Beta: The Rolldown-powered Vite

    Vite 8 Beta: The Rolldown-powered Vite ​ December 3, 2025 TL;DR: The first beta of Vite 8, powered by Rolldown, is now available. Vite 8 ships significantly faster production builds and unlocks future improvement possibilities. You can try the new release by upgrading vite to version 8.0.0-beta.0 and reading the migration guide. We're excited to release the first beta of Vite 8. This release unifi

    Vite 8 Beta: The Rolldown-powered Vite
    efcl
    efcl 2025/12/06
    Vite 8 Betaリリース。 Rollupの代わりにRolldownを利用するようになるバージョン
  • Announcing Vitest 4.0

    Vitest 4.0 is out! ​October 22, 2025 The next Vitest major is here ​Today, we are thrilled to announce Vitest 4! Quick links: DocsTranslations: 简体中文Migration GuideGitHub ChangelogIf you've not used Vitest before, we suggest reading the Getting Started and Features guides first. We extend our gratitude to the over 640 contributors to Vitest Core and to the maintainers and contributors of Vitest int

    Announcing Vitest 4.0
    efcl
    efcl 2025/10/24
    Vitest 4.0リリース。 Browser Modeがstableに、ビジュアルリグレッションテストをする`toMatchScreenshot`のサポート/Playwright Trace/frameLocatorの追加。 `expect.assert`/`expect.schemaMatching`の追加。 `basic`レポーター削除/Browser Provider設定の変更/`wo
  • Announcing Vite+

    Announcing Vite+: a unified toolchain for JavaScript ​ Last week, we unveiled Vite+ at the first-ever in-person ViteConf in Amsterdam. In this post, we’ll share more details about what it is and the motivation behind it. What is Vite+? ​ Vite+ is a command-line developer tool you can install from npm, just like Vite itself. It’s a drop-in upgrade to Vite with additional features. Imagine that, in

    Announcing Vite+
    efcl
    efcl 2025/10/16
    Viteの商用利用版であるVite+について。 `vite new`/`vite test`/`vite lint`/`vite fmt`/`vite lib`/`vite run`/`vite ui`のようなコマンドを提供する。 Vite、Vitest、Rolldown、Oxcなどをベースにしていて、2026年の初頭にPublic Previewの予定
  • Fresh 2.0 Graduates to Beta, Adds Vite Support | Deno

    The Fresh Vite plugin fully embraces Vite’s new Environment API to leverage the power of the plugin ecosystem for both server code and client code. For configuration details, see the Fresh docs. Hot module reloading in islands With Vite providing access to the underlying module graph of each environment, we can now provide proper hot module reloading (“HMR”) support. Instead of reloading the page

    Fresh 2.0 Graduates to Beta, Adds Vite Support | Deno
    efcl
    efcl 2025/09/07
    Fresh 2.0 Betaリリース。 Viteを使ったHMRの対応、`react`のaliasの対応、`<Head>`の追加など
  • vitestではbeforeEachを使わない

    はじめにlink 最近DBありのテストを記述していた際に、実はvitestではbeforeEachは必要ないのではないか、という考えに至ったのでその理由と設計についてまとめてみる。 下記のリポジトリで実験する https://github.com/koh110/vitest-beforeeach テストでbeforeEachが欲しくなるシーンlink テストを記述する際にbeforeEachが欲しくなるシーンは主に以下の2点ではないかと考えている。 mockの設定/reset seedsの投入 このうち、前者mockの設定/resetはbeforeEachではなくbeforeAll or すべての個別テストごとに設定すべきなのではと考えている。 これは自分がテスト単体での移植性を重視している(テスト単体をコピペしてもなるべくそのまま動かせる)ので、beforeEachでやってしまうとあるテ

    vitestではbeforeEachを使わない
    efcl
    efcl 2025/07/16
    beforeEach + letではなく、`test.extends`を使ったTest Contextを使うことで、実際にアクセスするテストケースだけで準備をする方法について
  • Vite 7.0 is out!

    Vite 7.0 is out! ​ June 24, 2025 We're happy to share the release of Vite 7! It has been 5 years since Evan You sent the first commit to the Vite repo, and nobody could have predicted how much the frontend ecosystem would change since then. Most modern frontend frameworks and tools are now working together, building on top of Vite's shared infrastructure. And they can innovate at a faster pace by

    Vite 7.0 is out!
    efcl
    efcl 2025/06/25
    Vite 7.0リリース。 `require(esm)`が利用できるNode.js 20.19+/22.12+をサポート対象に変更。 デフォルトのブラウザターゲットがBaseline Widely Availableに変更、SassのレガシーAPIのサポートを終了。 Environment APIの拡張、非推奨機能の削除な
  • GitHub - almadoro/react-just: React Server Components without a framework. Powered by Vite

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - almadoro/react-just: React Server Components without a framework. Powered by Vite
    efcl
    efcl 2025/06/03
    ViteベースのReact Server Componentをサポートするフレームワーク。
  • Announcing Rolldown-Vite

    TL;DR: Try out the Rolldown-powered Vite today by using the rolldown-vite package instead of the default vite package. It is a drop-in replacement, as Rolldown will become the default bundler for Vite in the future. Switching should reduce your build time, especially for larger projects. Reach out to discover production use cases! Over the last year, we've been working on Rolldown, a Rust-based ne

    Announcing Rolldown-Vite
    efcl
    efcl 2025/06/03
    Rolldown-Viteのリリース。 RolldownベースのViteで`rolldown-vite`パッケージとして公開されている
  • Rolldown | Rust bundler for JavaScript

    Why do we still need bundlers? ​Skipping the build step is impractical ​With the general availability of native ES modules and HTTP/2 in modern browsers, some developers are advocating for an unbundled approach for shipping web applications, even in production. While this approach works for smaller applications, in our opinion bundling is still very much necessary if you are shipping anything non-

    Rolldown | Rust bundler for JavaScript
    efcl
    efcl 2025/06/03
    ESMを直接扱えてもなぜbundleが必要なのかという話。
  • Announcing Vitest 3.2

    Vitest 3.2 is out! ​June 2, 2025 Vitest 3.2 focuses on improvements to Browser Mode and TypeScript support. This release also includes some new useful methods, config options and deprecates the workspace config in favour of projects. workspace is Deprecated ​In an effort to simplify the configuration, the team decided to deprecate the separate vitest.workspace file and recommend using only the pro

    Announcing Vitest 3.2
    efcl
    efcl 2025/06/03
    Vitest 3.2リリース。 `workspace`オプションを非推奨にし`vitest.workspace`ファイルを推奨するように変更。 `context.annotate` APIの追加、`test.extends`に`scope`オプションを追加、`locators.extend`を追加、`context.signal`の追加。 `using`でモック関
  • Release v3.0.5 · vitest-dev/vitest

    efcl
    efcl 2025/02/19
    vitest v3.0.5リリース。 Vitest UIのAPIサーバはリクエストのOriginチェックをしていなかったため、罠サイトへのアクセス時にホストマシンで任意のコード実行ができるRCEの脆弱性の修正が含まれている。
  • Any websites were able to send any requests to the development server and read the response

    Upgrade Path Users that does not match either of the following conditions should be able to upgrade to a newer version of Vite that fixes the vulnerability without any additional configuration. Using the backend integration feature Using a reverse proxy in front of Vite Accessing the development server via a domain other than localhost or *.localhost Using a plugin / framework that connects to the

    Any websites were able to send any requests to the development server and read the response
    efcl
    efcl 2025/02/14
    ViteサーバでCORSの問題からRCEが起きる問題について
  • @lazarv/react-server

    Execute React components across server, client, workers, and edge environments using a single runtime — with React Server Components, streaming, and deployment built in. The Idea React as a RuntimeReact runs outside the browser. Components are executable units — they run on the server, in workers, and at the edge. The runtime decides where and how each component executes. There is no runtime bound

    @lazarv/react-server
    efcl
    efcl 2025/01/21
    ViteベースのReact Server ComponentやServer Actionに対応したReactフレームワーク。 ファイルシステムベースのルーティング、Static generation、React Server Componentなどに対応している