prototype: restore original Core within context shelf alternatives

This commit is contained in:
Codex
2026-09-12 14:00:52 +02:00
parent 41b9fed4d5
commit 840344706f
5 changed files with 175 additions and 10 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig(({ command }) => {
if (command !== "serve") throw new Error("Context-shelf prototype is development-only.");
return { root: path.resolve(__dirname, "prototypes/context-shelf"), plugins: [react()], server: { host: "127.0.0.1", port: 5177, strictPort: true } };
return { root: path.resolve(__dirname, "prototypes/context-shelf"), plugins: [react()], resolve: { alias: { "@": path.resolve(__dirname, "src") } }, server: { host: "127.0.0.1", port: 5177, strictPort: true } };
});