Skip to content

Commit

Permalink
fix: add ?inline css query typings
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx authored Aug 11, 2021
1 parent 5c0f0a3 commit fce08a3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/vite/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,58 @@ declare module '*.css' {
const css: string
export default css
}
declare module '*.css?inline' {
const css: string
export default css
}
declare module '*.scss' {
const css: string
export default css
}
declare module '*.scss?inline' {
const css: string
export default css
}
declare module '*.sass' {
const css: string
export default css
}
declare module '*.sass?inline' {
const css: string
export default css
}
declare module '*.less' {
const css: string
export default css
}
declare module '*.less?inline' {
const css: string
export default css
}
declare module '*.styl' {
const css: string
export default css
}
declare module '*.styl?inline' {
const css: string
export default css
}
declare module '*.stylus' {
const css: string
export default css
}
declare module '*.stylus?inline' {
const css: string
export default css
}
declare module '*.pcss' {
const css: string
export default css
}
declare module '*.pcss?inline' {
const css: string
export default css
}

// Built-in asset types
// see `src/constants.ts`
Expand Down

0 comments on commit fce08a3

Please sign in to comment.