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 /coverage
.idea .idea
pnpm-lock.yaml
yarn.lock yarn.lock
package-lock.json package-lock.json
*bak *bak

9
config/config.ts

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

Loading…
Cancel
Save