solve build issue

This commit is contained in:
AceDataCloud committed 2024-01-01 17:11:58 +08:00
1 parent a6b4f40342
commit b3f1c382ac
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
"start:local": "npm run start --env=local", "start:local": "npm run start --env=local",
"start:test": "npm run start --env=test", "start:test": "npm run start --env=test",
"start:production": "npm run start --env=production", "start:production": "npm run start --env=production",
"build": "vite build", "build": "vite build --mode=development",
"serve": "vite preview", "serve": "vite preview",
"lint": "npx eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx", "lint": "npx eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
"prettier": "npx prettier --write ." "prettier": "npx prettier --write ."
+1 -1
View File
@@ -45,7 +45,7 @@ export default defineComponent({
.left { .left {
width: 60px; width: 60px;
height: 100%; height: 100%;
// border-right: 1px solid var(--el-border-color); border-right: 1px solid var(--el-border-color);
} }
.main { .main {
height: 100%; height: 100%;
+1 -1
View File
@@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue';
import replace from '@rollup/plugin-replace'; import replace from '@rollup/plugin-replace';
import { string } from 'rollup-plugin-string'; import { string } from 'rollup-plugin-string';
import * as path from 'path'; import * as path from 'path';
console.log('process.env.NODE_ENV', process.env.NODE_ENV);
export default defineConfig({ export default defineConfig({
server: { server: {
host: 'localhost', host: 'localhost',