mirror of
https://github.com/BraveOPotato/FckSignups.git
synced 2026-10-02 05:44:32 +08:00
- Fix Vite CJS deprecation warning by adding "type": "module" to package.json and renaming vite.config to .mts - Update GitHub fallback stars count - Remove leftover debugging console.log statements
18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
import { createHtmlPlugin } from "vite-plugin-html";
|
|
import { websiteSchema } from "./src/data/schema";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
createHtmlPlugin({
|
|
inject: {
|
|
data: {
|
|
jsonLd: JSON.stringify(websiteSchema),
|
|
},
|
|
},
|
|
}),
|
|
],
|
|
});
|