Skip to content

Commit

Permalink
fix: add php and phtml to the default includes (unocss#1939)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbuzdin committed Nov 30, 2022
1 parent 1c5026f commit dab30ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared-integration/src/defaults.ts
@@ -1,4 +1,4 @@
import { cssIdRE } from '@unocss/core'

export const defaultExclude = [cssIdRE]
export const defaultInclude = [/\.(vue|svelte|[jt]sx|mdx?|astro|elm|html)($|\?)/]
export const defaultInclude = [/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/]

0 comments on commit dab30ce

Please sign in to comment.