diff --git a/.gitignore b/.gitignore index 41f66cfe..14bdff20 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ kun-ssr # rollup-plugin-visualizer stats.html + +# .env.production +.env.production diff --git a/vite.config.ts b/vite.config.ts index e1535b3c..dcb289da 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,6 +16,10 @@ export default defineConfig({ esbuild: { drop: ['console', 'debugger'], }, + build: { + // Dist dir name + assetsDir: 'kun', + }, server: { host: '127.0.0.1', port: 1007 }, // Suppress i18n warnings define: {