Skip to content

Commit

Permalink
fix(postcss): ignore dot folders (#2481)
Browse files Browse the repository at this point in the history
  • Loading branch information
sibbng committed Apr 10, 2023
1 parent f975b34 commit d1259e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/postcss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ function unocss(options: UnoPostcssPluginOptions = {}) {

const entries = await fg(isScanTarget ? globs : from, {
cwd,
dot: true,
absolute: true,
ignore: ['**/{.git,node_modules}/**'],
ignore: ['**/node_modules/**'],
stats: true,
}) as unknown as { path: string; mtimeMs: number }[]

Expand Down

0 comments on commit d1259e5

Please sign in to comment.