mod: env
This commit is contained in:
parent
60dff1bc49
commit
844bc068d1
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -27,3 +27,6 @@ kun-ssr
|
|||
|
||||
# rollup-plugin-visualizer
|
||||
stats.html
|
||||
|
||||
# .env.production
|
||||
.env.production
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue