refactor: split repo into docs/ mockup/ app/
- move static mockups from resource/ui to mockup/ - move React app scaffold from resource/ui to app/ - move prome.md + images to docs/ - drop empty resource/jsonfile and resource/ - add root .gitignore - rewrite README for new layout - fix paths in mockup/index.html (resource/ui -> mockup, docs/prome.md)
This commit is contained in:
1 parent
8e87e47017
commit
92a2adad6a
133 files changed
+23416
-50
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import { agentNative } from "@agent-native/core/vite";
|
||||
import { reactRouter } from "@react-router/dev/vite";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
const reactRouterPlugins = reactRouter as unknown as () => any[];
|
||||
const agentNativePlugins = agentNative as unknown as (
|
||||
options?: Parameters<typeof agentNative>[0],
|
||||
) => any[];
|
||||
export default defineConfig({
|
||||
optimizeDeps: {
|
||||
entries: [
|
||||
"app/entry.client.tsx",
|
||||
"app/root.tsx",
|
||||
"app/components/layout/{Layout,Sidebar}.tsx",
|
||||
"app/components/chat/ChatRouteContent.tsx",
|
||||
"app/routes/{home,chat.$threadId}.tsx",
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
...reactRouterPlugins(),
|
||||
...agentNativePlugins({
|
||||
ssrStubs: ["shiki"],
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user