Skip to content

Commit

Permalink
Enable experimental.directRenderScript option (#7529)
Browse files Browse the repository at this point in the history
* Enable `experimental.directRenderScript` option

* Update astro to latest

* Update astro and rollup

* Update more deps

* Update astro to latest

---------

Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 10, 2024
1 parent faaf6f4 commit 6f51db0
Show file tree
Hide file tree
Showing 3 changed files with 659 additions and 172 deletions.
3 changes: 3 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,7 @@ export default defineConfig({
domains: ['avatars.githubusercontent.com'],
service: sharpImageService(),
},
experimental: {
directRenderScript: true,
},
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^18.6.4",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"astro": "^4.4.0",
"astro": "^4.5.17",
"astro-auto-import": "^0.4.2",
"astro-eslint-parser": "^0.16.0",
"astro-og-canvas": "^0.4.1",
Expand All @@ -51,7 +51,7 @@
"fast-glob": "^3.2.11",
"hast-util-from-html": "^2.0.1",
"hast-util-select": "^6.0.2",
"hast-util-to-html": "^9.0.0",
"hast-util-to-html": "^9.0.1",
"hast-util-to-string": "^3.0.0",
"hastscript": "^8.0.0",
"html-escaper": "^3.0.3",
Expand Down
Loading

0 comments on commit 6f51db0

Please sign in to comment.