-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
kmi/packages/preset-bundler/src/features/rspack/rspack.ts
Lines 100 to 108 in 6f2b2cc
| api.onBuildComplete(async ({ err }) => { | |
| if (err && api.userConfig.forkTSChecker) { | |
| // rspack's type checking output will continue to be generated, to avoid interfering with subsequent processes, manually remove the file if it exists | |
| const absOutputPath = pathe.join(api.cwd, api.appData.outputPath) | |
| if (await fsExtra.exists(absOutputPath)) { | |
| await fsExtra.remove(absOutputPath) | |
| } | |
| } | |
| }) |
api.appData.outputPath undefined
api.paths.absOutputPath "/Users/Tommy/project-playground/kmi-bug/dist"
info - Umi v4.4.12
需要换成 api.paths.absOutputPath
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels