mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
update plasmic package to omit cjs, migrated example from nextjs to vite/wouter
This commit is contained in:
@@ -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