prototype: explore global context with one operation at a time
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import path from "node:path";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig(({ command }) => {
|
||||
if (command !== "serve") throw new Error("Application-context prototype is development-only.");
|
||||
return {
|
||||
root: path.resolve(__dirname, "prototypes/application-context"),
|
||||
plugins: [react()],
|
||||
server: { host: "127.0.0.1", port: 5176, strictPort: true },
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user