We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b0cae commit 1197b24Copy full SHA for 1197b24
packages/vite/src/node/plugins/css.ts
@@ -517,7 +517,7 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
517
? getCssAssetDirname(cssAssetName)
518
: undefined
519
520
- const toRelative = (filename: string, importer: string) => {
+ const toRelative = (filename: string) => {
521
// relative base + extracted CSS
522
const relativePath = path.posix.relative(cssAssetDirname!, filename)
523
return relativePath[0] === '.' ? relativePath : './' + relativePath
0 commit comments