Skip to content

Commit

Permalink
fix(css): should not rebase http url for less (fix: #12155) (#12195)
Browse files Browse the repository at this point in the history
  • Loading branch information
sun0day authored Feb 25, 2023
1 parent b8cdc92 commit 9cca30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1796,8 +1796,8 @@ function createViteLessPlugin(
this.resolvers = resolvers
this.alias = alias
}
override supports() {
return true
override supports(filename: string) {
return !isExternalUrl(filename)
}
override supportsSync() {
return false
Expand Down

0 comments on commit 9cca30d

Please sign in to comment.