Skip to content

Commit

Permalink
fix: πŸ› umi-plugin - injected js file is missing the prefix path
Browse files Browse the repository at this point in the history
βœ… Closes: #9
  • Loading branch information
GreatAuk committed Mar 3, 2023
1 parent aeb6e6d commit 52eb0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/umi-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default (api: IApi) => {
content: injectVersionTpl(version),
})
scriptList.push({
src: `${injectFileBase}${INJECT_SCRIPT_FILE_NAME}.js`,
src: `${injectFileBase}${DIRECTORY_NAME}/${INJECT_SCRIPT_FILE_NAME}.js`,
})
return scriptList
})
Expand Down

0 comments on commit 52eb0b6

Please sign in to comment.