You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
380 B
TypeScript
20 lines
380 B
TypeScript
import { pages } from "vike-cloudflare";
|
|
import react from "@vitejs/plugin-react";
|
|
import { compiled } from "vite-plugin-compiled-react";
|
|
import vike from "vike/plugin";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
vike(),
|
|
compiled({
|
|
extract: true,
|
|
}),
|
|
react(),
|
|
pages(),
|
|
],
|
|
build: {
|
|
target: "es2022",
|
|
},
|
|
});
|