Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz authored Dec 30, 2023
1 parent eeba5b0 commit 7423318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/vite-rpc/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function setupAssetsRPC(config: SetupAssetsOptions) {
cache = await Promise.all(files.map(async (path) => {
const filePath = resolve(dir, path)
const stat = await fsp.lstat(filePath)
// remove public prefix that resolve vite assets warning
// remove public prefix to resolve vite assets warning
path = path.startsWith('public/') ? path.slice(7) : path
return {
path,
Expand Down

0 comments on commit 7423318

Please sign in to comment.