Skip to content

Commit 89c6f18

Browse files
committed
fix: remove @astrojs/node, the adapter was also messing things up
1 parent fbbda67 commit 89c6f18

File tree

3 files changed

+3
-145
lines changed

3 files changed

+3
-145
lines changed

astro.config.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import remarkValidateLinks from 'remark-validate-links';
1212

1313
import rehypeRewriteUrls from './plugins/rehype-rewrite-urls';
1414

15-
import nodeAdapter from '@astrojs/node';
16-
1715
import { h } from 'hastscript';
1816
import { fromHtml } from 'hast-util-from-html';
1917
import { readFileSync } from 'fs';
@@ -33,9 +31,9 @@ const linkIcon = readFileSync(linkIconSvgPath, 'utf-8');
3331
// https://astro.build/config
3432
export default defineConfig({
3533
output: 'static',
36-
adapter: nodeAdapter({
37-
mode: 'standalone'
38-
}),
34+
// adapter: nodeAdapter({
35+
// mode: 'standalone'
36+
// }),
3937
integrations: [
4038
mdx(),
4139
// Enable Preact to support Preact JSX components.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"dependencies": {
33
"@astrojs/mdx": "^4.0.4",
4-
"@astrojs/node": "^9.0.0",
54
"@astrojs/preact": "^4.0.1",
65
"@astrojs/react": "^4.1.2",
76
"@astrojs/sitemap": "^3.2.1",

0 commit comments

Comments
 (0)