mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(vite): treat .pcss
extension as a CSS extension (#25673)
This commit is contained in:
parent
4f3391fc0a
commit
ae83df8c43
@ -7,7 +7,7 @@ export function uniq<T> (arr: T[]): T[] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Copied from vue-bundle-renderer utils
|
// 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) {
|
export function isCSS (file: string) {
|
||||||
return IS_CSS_RE.test(file)
|
return IS_CSS_RE.test(file)
|
||||||
|
Loading…
Reference in New Issue
Block a user