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 (vitejs#11367)
  • Loading branch information
7nohe authored and futurGH committed Feb 26, 2023
1 parent 0700f60 commit de87450
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 de87450

Please sign in to comment.