Skip to content

Commit

Permalink
chore: update with blu corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jun 24, 2022
1 parent 91fac85 commit eb6eb61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-legacy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function loadBabel() {

// Duplicated from build.ts in Vite Core, at least while the feature is experimental
// We should later expose this helper for other plugins to use
export function toOutputFilePathInHtml(
function toOutputFilePathInHtml(
filename: string,
type: 'asset' | 'public',
importer: string,
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ export function toOutputFilePathInString(
return { runtime: result.runtime }
}
if (typeof result.relative === 'boolean') {
relative = true
relative = result.relative
}
} else if (result) {
return result
Expand Down Expand Up @@ -896,7 +896,7 @@ export function toOutputFilePathWithoutRuntime(
)
}
if (typeof result.relative === 'boolean') {
relative = true
relative = result.relative
}
} else if (result) {
return result
Expand Down

0 comments on commit eb6eb61

Please sign in to comment.