Skip to content

Commit

Permalink
chore: fix playground (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Oct 22, 2024
1 parent c9ccdc8 commit 90ec1be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
1 change: 1 addition & 0 deletions docs-build/shim/empty.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 90ec1be

Please sign in to comment.