Skip to content

Commit 1197b24

Browse files
authored
chore(css): remove useless parameter (#13411)
1 parent 20b0cae commit 1197b24

File tree

1 file changed

+1
-1
lines changed
  • packages/vite/src/node/plugins

1 file changed

+1
-1
lines changed

packages/vite/src/node/plugins/css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
517517
? getCssAssetDirname(cssAssetName)
518518
: undefined
519519

520-
const toRelative = (filename: string, importer: string) => {
520+
const toRelative = (filename: string) => {
521521
// relative base + extracted CSS
522522
const relativePath = path.posix.relative(cssAssetDirname!, filename)
523523
return relativePath[0] === '.' ? relativePath : './' + relativePath

0 commit comments

Comments
 (0)