mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
update plasmic package to omit cjs, migrated example from nextjs to vite/wouter
This commit is contained in:
15
examples/plasmic/vite.config.ts
Normal file
15
examples/plasmic/vite.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { devServer } from "bknd/adapter/vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
tsconfigPaths(),
|
||||
devServer({
|
||||
entry: "./src/server.ts"
|
||||
}) as any
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user