From 31e043038ae2be7ffb713c9f9a9e490a755a93c9 Mon Sep 17 00:00:00 2001 From: Nathan Brown Date: Mon, 29 Jan 2024 00:22:33 -0700 Subject: [PATCH] Add changeset --- .changeset/tender-pens-tan.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/tender-pens-tan.md diff --git a/.changeset/tender-pens-tan.md b/.changeset/tender-pens-tan.md new file mode 100644 index 00000000000..f143f4bba81 --- /dev/null +++ b/.changeset/tender-pens-tan.md @@ -0,0 +1,8 @@ +--- +"@remix-run/dev": patch +--- + +vite: Enable use of `vite preview` to preview built SPA sites + +In the SPA template, `start` script (`npm run start`) has been renamed to `preview` (`npm run preview`). +In the SPA template, `npm run preview` uses `vite preview` for serving built SPA sites.