mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
remote pages plugin
This commit is contained in:
parent
c16586e701
commit
5227b947a4
@ -3,16 +3,9 @@ import getConfig from "./.config.js"
|
|||||||
import { defineConfig } from "vite"
|
import { defineConfig } from "vite"
|
||||||
import reactRefresh from "@vitejs/plugin-react-refresh"
|
import reactRefresh from "@vitejs/plugin-react-refresh"
|
||||||
|
|
||||||
import Pages from "vite-plugin-pages"
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
reactRefresh(),
|
reactRefresh(),
|
||||||
Pages({
|
|
||||||
react: true,
|
|
||||||
routeStyle: "next",
|
|
||||||
extensions: ["jsx", "tsx"],
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
...getConfig(),
|
...getConfig(),
|
||||||
})
|
})
|
Loading…
x
Reference in New Issue
Block a user