diff --git a/astro.config.mjs b/astro.config.mjs index f245a8b5..45ecbc15 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -65,11 +65,16 @@ export default defineConfig({ url: path.join(dirname, "./docs-build/shim/url.mjs"), module: path.join(dirname, "./docs-build/shim/module.mjs"), globby: path.join(dirname, "./docs-build/shim/globby.mjs"), + "fast-glob": path.join(dirname, "./docs-build/shim/empty.mjs"), // override tsconfig (it had no effect...) "@eslint-community/eslint-utils": path.join( dirname, "./node_modules/@eslint-community/eslint-utils", ), + "node:path": path.join( + dirname, + "./node_modules/vite-plugin-eslint4b/shim/path-shim.mjs", + ), }, }, plugins: [ diff --git a/docs-build/shim/empty.mjs b/docs-build/shim/empty.mjs new file mode 100644 index 00000000..336ce12b --- /dev/null +++ b/docs-build/shim/empty.mjs @@ -0,0 +1 @@ +export {} diff --git a/package.json b/package.json index d76463ce..0eb5010b 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "tsup": "^8.0.2", "typescript": "~5.6.3", "typescript-eslint": "^8.5.0", - "vite-plugin-eslint4b": "^0.4.0" + "vite-plugin-eslint4b": "^0.4.6" }, "publishConfig": { "access": "public"