This commit is contained in:
KUN1007 2023-10-25 00:33:26 +08:00
parent 60dff1bc49
commit 844bc068d1
2 changed files with 7 additions and 0 deletions

3
.gitignore vendored
View file

@ -27,3 +27,6 @@ kun-ssr
# rollup-plugin-visualizer # rollup-plugin-visualizer
stats.html stats.html
# .env.production
.env.production

View file

@ -16,6 +16,10 @@ export default defineConfig({
esbuild: { esbuild: {
drop: ['console', 'debugger'], drop: ['console', 'debugger'],
}, },
build: {
// Dist dir name
assetsDir: 'kun',
},
server: { host: '127.0.0.1', port: 1007 }, server: { host: '127.0.0.1', port: 1007 },
// Suppress i18n warnings // Suppress i18n warnings
define: { define: {