From ff29d5b20ae35cd320b60855fce4e0ca65340ed8 Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Wed, 14 Dec 2022 00:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20vite=20=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/.nojekyll | 0 vite.config.ts | 7 ------- 2 files changed, 7 deletions(-) create mode 100644 public/.nojekyll diff --git a/public/.nojekyll b/public/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/vite.config.ts b/vite.config.ts index 18993cc7..cb7a5604 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -40,13 +40,6 @@ export default ({ mode, command }) => { build: { outDir: mode === 'production' ? 'dist' : `dist-${mode}`, sourcemap: env.VITE_BUILD_SOURCEMAP === 'true', - rollupOptions: { - output: { - sanitizeFileName: (name) => { - return name.startsWith('\0') ? name.slice(1) : name - }, - }, - }, }, define: { __SYSTEM_INFO__: JSON.stringify({