mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
added format command and added trailing commas to reduce conflicts
This commit is contained in:
@@ -7,7 +7,7 @@ import { devServerConfig } from "./src/adapter/vite/dev-server-config";
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
define: {
|
||||
__isDev: process.env.NODE_ENV === "production" ? "0" : "1"
|
||||
__isDev: process.env.NODE_ENV === "production" ? "0" : "1",
|
||||
},
|
||||
clearScreen: false,
|
||||
publicDir: "./src/ui/assets",
|
||||
@@ -15,22 +15,22 @@ export default defineConfig({
|
||||
host: true,
|
||||
port: 28623,
|
||||
hmr: {
|
||||
overlay: true
|
||||
}
|
||||
overlay: true,
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
tsconfigPaths(),
|
||||
devServer({
|
||||
...devServerConfig,
|
||||
entry: "./vite.dev.ts"
|
||||
})
|
||||
entry: "./vite.dev.ts",
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
manifest: true,
|
||||
outDir: "./dist/static",
|
||||
rollupOptions: {
|
||||
input: "./src/ui/main.tsx"
|
||||
}
|
||||
}
|
||||
input: "./src/ui/main.tsx",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user