Skip to content

Commit

Permalink
chore: 优化构建流程配置
Browse files Browse the repository at this point in the history
  • Loading branch information
self-denial-cy committed Apr 24, 2024
1 parent 6d1cd4f commit 2264447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function resolve(src: string): string {
return fileURLToPath(new URL(src, import.meta.url));
}

function getBase(env: string): string {
function getBase(env?: string): string {
let base = '/';
switch (env) {
case 'production':
Expand Down

0 comments on commit 2264447

Please sign in to comment.