summaryrefslogtreecommitdiff
path: root/packages/frontend-shared
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-12-11 23:08:26 +0900
committerGitHub <noreply@github.com>2025-12-11 23:08:26 +0900
commit8e6fffee68cfa36f66c0e10f84f159d1ade72e70 (patch)
tree1ec8cbb51dd86ae344b7dffc564a5cf1cd259032 /packages/frontend-shared
parentfix(sw): オフライン時のfetch timeout処理を実装 (#16952) (diff)
downloadmisskey-8e6fffee68cfa36f66c0e10f84f159d1ade72e70.tar.gz
misskey-8e6fffee68cfa36f66c0e10f84f159d1ade72e70.tar.bz2
misskey-8e6fffee68cfa36f66c0e10f84f159d1ade72e70.zip
enhance: use native glob (#16965)
* enhance: use native glob * remove tiny-glob * remove fast-glob * refactor * fix: use async glob if possible --------- Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
Diffstat (limited to 'packages/frontend-shared')
-rw-r--r--packages/frontend-shared/build.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/frontend-shared/build.js b/packages/frontend-shared/build.js
index 9941114757..07e98ad182 100644
--- a/packages/frontend-shared/build.js
+++ b/packages/frontend-shared/build.js
@@ -3,14 +3,13 @@ import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
import * as esbuild from 'esbuild';
import { build } from 'esbuild';
-import { globSync } from 'glob';
import { execa } from 'execa';
const _filename = fileURLToPath(import.meta.url);
const _dirname = dirname(_filename);
const _package = JSON.parse(fs.readFileSync(_dirname + '/package.json', 'utf-8'));
-const entryPoints = globSync('./js/**/**.{ts,tsx}');
+const entryPoints = fs.globSync('./js/**/**.{ts,tsx}');
/** @type {import('esbuild').BuildOptions} */
const options = {