Skip to content

Commit

Permalink
fix: fix the error message in the toOutputFilePathWithoutRuntime fu…
Browse files Browse the repository at this point in the history
…nction (#11367)
  • Loading branch information
7nohe committed Dec 14, 2022
1 parent 060cd66 commit 8820f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Expand Up @@ -1130,7 +1130,7 @@ export function toOutputFilePathWithoutRuntime(
if (typeof result === 'object') {
if (result.runtime) {
throw new Error(
`{ runtime: "${result.runtime} }" is not supported for assets in ${hostType} files: ${filename}`,
`{ runtime: "${result.runtime}" } is not supported for assets in ${hostType} files: ${filename}`,
)
}
if (typeof result.relative === 'boolean') {
Expand Down

0 comments on commit 8820f75

Please sign in to comment.