Skip to content

Commit

Permalink
fix: short "pcss" extension of postcss
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 committed Feb 7, 2024
1 parent c5d5932 commit 9e34ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function uniq<T> (arr: T[]): T[] {
}

// Copied from vue-bundle-renderer utils
const IS_CSS_RE = /\.(?:css|scss|sass|postcss|less|stylus|styl)(\?[^.]+)?$/
const IS_CSS_RE = /\.(?:css|scss|sass|postcss|pcss|less|stylus|styl)(\?[^.]+)?$/

export function isCSS (file: string) {
return IS_CSS_RE.test(file)
Expand Down

0 comments on commit 9e34ce4

Please sign in to comment.