Browse Source

fix: 修复启动报错

pull/11595/head
zhuangjiaren 3 months ago
parent
commit
e21d454e14
  1. 1
      .gitignore
  2. 9
      config/config.ts

1
.gitignore

@ -16,6 +16,7 @@ yarn-error.log
/coverage
.idea
pnpm-lock.yaml
yarn.lock
package-lock.json
*bak

9
config/config.ts

@ -26,6 +26,13 @@ export default defineConfig({
publicPath: PUBLIC_PATH,
/**
* @name
* @description Windows系统下路径拼接错误
* @doc https://umijs.org/docs/api/config#outputpath
*/
outputPath: 'dist',
/**
* @name
* @description ie11 使
@ -168,7 +175,7 @@ export default defineConfig({
mock: {
include: ['mock/**/*', 'src/pages/**/_mock.ts'],
},
utoopack: {},
utoopack: false,
requestRecord: {},
exportStatic: {},
define: {

Loading…
Cancel
Save