From e1feaab79cbef26df89881d99405158783125850 Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Tue, 12 Nov 2024 10:43:53 +0900 Subject: [PATCH] chore: fix site --- explorer-v3/.astro/types.d.ts | 1 + explorer-v3/astro.config.mjs | 2 ++ explorer-v3/build-system/shim/fast-glob.js | 4 ++++ explorer-v3/src/env.d.ts | 1 + 4 files changed, 8 insertions(+) create mode 100644 explorer-v3/.astro/types.d.ts create mode 100644 explorer-v3/build-system/shim/fast-glob.js diff --git a/explorer-v3/.astro/types.d.ts b/explorer-v3/.astro/types.d.ts new file mode 100644 index 00000000..f964fe0c --- /dev/null +++ b/explorer-v3/.astro/types.d.ts @@ -0,0 +1 @@ +/// diff --git a/explorer-v3/astro.config.mjs b/explorer-v3/astro.config.mjs index 0117c6ea..ebfdc226 100644 --- a/explorer-v3/astro.config.mjs +++ b/explorer-v3/astro.config.mjs @@ -19,6 +19,7 @@ export default defineConfig({ alias: { assert: resolve("./build-system/shim/assert.js"), path: resolve("./build-system/shim/path.js"), + "node:path": resolve("./build-system/shim/path.js"), fs: resolve("./build-system/shim/fs.js"), module: resolve("./build-system/shim/module.js"), "eslint/package.json": resolve( @@ -29,6 +30,7 @@ export default defineConfig({ "./build-system/shim/astro-eslint-parser/index.js", ), globby: resolve("./build-system/shim/globby.js"), + "fast-glob": resolve("./build-system/shim/fast-glob.js"), tslib: resolve("../node_modules/tslib/tslib.es6.js"), "escape-string-regexp": resolve( "./build-system/shim/escape-string-regexp/index.js", diff --git a/explorer-v3/build-system/shim/fast-glob.js b/explorer-v3/build-system/shim/fast-glob.js new file mode 100644 index 00000000..8b9ba4ad --- /dev/null +++ b/explorer-v3/build-system/shim/fast-glob.js @@ -0,0 +1,4 @@ +/* eslint require-jsdoc:0 -- shim */ + +export default {}; +export {}; diff --git a/explorer-v3/src/env.d.ts b/explorer-v3/src/env.d.ts index f964fe0c..acef35f1 100644 --- a/explorer-v3/src/env.d.ts +++ b/explorer-v3/src/env.d.ts @@ -1 +1,2 @@ +/// ///