Skip to content

Commit

Permalink
fix: css @import alias for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 26, 2021
1 parent a5a6843 commit 71fcfdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ async function compileCSS(
path.join(basedir, '*')
)
if (resolved) {
return resolved.id
return path.resolve(resolved.id)
}
}
return id
Expand Down

0 comments on commit 71fcfdf

Please sign in to comment.