L-Sun
2025-01-19 08:35:02 +00:00
parent 9d61b41c05
commit 6ba802fb17
13 changed files with 224 additions and 8 deletions

View File

@@ -41,6 +41,7 @@
"devDependencies": {
"@tweakpane/core": "^2.0.4",
"@types/micromatch": "^4.0.9",
"@vanilla-extract/vite-plugin": "^4.0.19",
"graphql": "^16.9.0",
"magic-string": "^0.30.11",
"vite": "^6.0.3",

View File

@@ -4,6 +4,7 @@ import { cpus } from 'node:os';
import path, { resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import type { GetManualChunk } from 'rollup';
import type { Plugin } from 'vite';
import { defineConfig, loadEnv } from 'vite';
@@ -187,6 +188,7 @@ export default defineConfig(({ mode }) => {
forceBuildInstrument: true,
}),
wasm(),
vanillaExtractPlugin(),
clearSiteDataPlugin(),
],
esbuild: {