diff --git a/packages/plugin-legacy/src/index.ts b/packages/plugin-legacy/src/index.ts index 3c933555d6afab..ca79a56f160146 100644 --- a/packages/plugin-legacy/src/index.ts +++ b/packages/plugin-legacy/src/index.ts @@ -57,7 +57,7 @@ function toOutputFilePathInHtml( ) } if (typeof result.relative === 'boolean') { - relative = true + relative = result.relative } } else if (result) { return result