mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-02 21:36:19 +09:00
Got rid of "module" export condition everywhere. Seems like it has very poor usage everywhere.
15 lines
317 B
TypeScript
15 lines
317 B
TypeScript
import { defineConfig } from "vite";
|
|
import { reactRouter } from "@react-router/dev/vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [reactRouter()],
|
|
resolve: {
|
|
conditions: ["browser", "development|production"],
|
|
},
|
|
ssr: {
|
|
resolve: {
|
|
conditions: ["node", "development|production"],
|
|
},
|
|
},
|
|
});
|