feat: make single html and add schemas for socials
This commit is contained in:
parent
4c09d416cf
commit
a7ecb3a390
7 changed files with 190 additions and 23 deletions
|
|
@ -2,10 +2,17 @@ import { defineConfig } from "vite";
|
|||
import tailwindcss from "@tailwindcss/vite";
|
||||
import wasm from "vite-plugin-wasm";
|
||||
import topLevelAwait from "vite-plugin-top-level-await";
|
||||
import { viteSingleFile } from "vite-plugin-singlefile";
|
||||
import ansi from "./vite-plugin-ansi";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [ansi(), tailwindcss(), wasm(), topLevelAwait()],
|
||||
plugins: [
|
||||
ansi(),
|
||||
tailwindcss(),
|
||||
wasm(),
|
||||
topLevelAwait(),
|
||||
viteSingleFile({ useRecommendedBuildConfig: false }),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
"~": "/src",
|
||||
|
|
@ -25,5 +32,7 @@ export default defineConfig({
|
|||
},
|
||||
build: {
|
||||
target: "esnext",
|
||||
assetsInlineLimit: 0,
|
||||
cssCodeSplit: false,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue