From e49eb634fe9d1a42892104c662c94f3ee4ec0395 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Thu, 4 Dec 2025 11:07:44 -0700 Subject: [PATCH] Revert "Merge pull request #71 from afyef/feat/skip-source-button" This reverts commit d1356405d2754a926978b53d78e77c8103e55ce5, reversing changes made to 85421a881d932c8121d3c1938665d241a43cf445. --- .gitignore | 1 - vite.config.mts | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/.gitignore b/.gitignore index 7f1a6f9b..92594324 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,3 @@ package-lock.json # config .env -local-libs/ diff --git a/vite.config.mts b/vite.config.mts index 6546a652..66013c2f 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -25,17 +25,6 @@ export default defineConfig(({ mode }) => { const env = loadEnv(mode, process.cwd()); return { base: env.VITE_BASE_URL || "/", - assetsInclude: ['**/*.wasm'], - server: { - fs: { - allow: [ - // Default: allow serving files from project root - path.resolve(__dirname), - // Allow serving from the linked providers directory - path.resolve(__dirname, '../providers/@p-stream/providers'), - ], - }, - }, plugins: [ million.vite({ auto: true, mute: true }), handlebars({ @@ -134,14 +123,6 @@ export default defineConfig(({ mode }) => { build: { sourcemap: mode !== "production", - assetsInlineLimit: (filePath: string) => { - // Never inline WASM files - if (filePath.endsWith('.wasm')) { - return false; - } - // Use default 4KB limit for other assets - return undefined; - }, rollupOptions: { output: { manualChunks(id: string) {