小屋に置いたファイルを、好きな場所から出せるように
💬 In one line
離れの小屋に入れたファイルを、「/blog/」みたいに道の途中から見せられるようになりました。
ファイル自体は整理し直さなくて大丈夫です。
✨ Highlights
-
ファイルの整理をしなおさなくていい
これまでは「/blog/」から見せたければ、ファイルを blog というフォルダに入れ直す手間がありました。今はそのままで大丈夫。
-
設定ファイルに1行足すだけ
「base_path: '/blog'」と書くだけで、好きな位置から見えるようになります。複雑な作業は必要ありません。
🛠️ What it means for your work
例えば、ブログ記事を「/blog/」の下に置きたい時、フォルダ構造をいじらずに設定だけで実現できます。小屋の中のファイルはそのままで、正門のしるべを変えるイメージです。
⚠️ Watch out for
設定を変えるときは、同じく「/blog/」という指定を Vite という別の道具にも書く必要があります。
🔗 Original
This page is an AI summary of the official release notes. The full original text is not reproduced here.
Read the Cloudflare https://developers.cloudflare.com/changelog/post/2026-11-11-static-assets-base-path/ release notes →🔗 Related hubs and releases in the same category
🔔 Get the next one
Get plain-Japanese write-ups of new Cloudflare releases without opening the site (twice a day). No email address required.
What is RSS: New items arrive automatically wherever you already read (a reader such as Feedly, Slack, n8n). Copy the URL above and paste it in — no sign-up, no cost.
The headline and summary are an AI's Japanese rendering of each company's official announcement. They can diverge from the original. For the exact wording, follow the link to the official page. Terms of Use