Skip to content

Commit 2b6ffe0

Browse files
committed
replace fast-blog with tinyglobby
1 parent abd34bb commit 2b6ffe0

3 files changed

Lines changed: 10 additions & 46 deletions

File tree

‎package-lock.json‎

Lines changed: 6 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/postcss-react-strict-dom/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"dependencies": {
1616
"@babel/core": "^7.26.8",
1717
"@stylexjs/babel-plugin": "^0.18.3",
18-
"fast-glob": "^3.3.2",
1918
"glob-parent": "^6.0.2",
20-
"is-glob": "^4.0.3"
19+
"is-glob": "^4.0.3",
20+
"tinyglobby": "^0.2.17"
2121
},
2222
"peerDependencies": {
2323
"postcss": "^8.4.49"

‎packages/postcss-react-strict-dom/src/builder.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
const path = require('node:path');
99
const fs = require('node:fs');
1010
const { normalize, resolve } = require('path');
11-
const { globSync } = require('fast-glob');
11+
const { globSync } = require('tinyglobby');
1212
const isGlob = require('is-glob');
1313
const globParent = require('glob-parent');
1414
const createBundler = require('./bundler');
@@ -96,6 +96,7 @@ function createBuilder() {
9696
function getFiles() {
9797
const { cwd, include, exclude } = getConfig();
9898
return globSync(include, {
99+
expandDirectories: false,
99100
onlyFiles: true,
100101
ignore: exclude,
101102
cwd

0 commit comments

Comments
 (0)