Skip to content

Commit bf9461d

Browse files
committed
chore : 빌드 에러 해결
1 parent c34be77 commit bf9461d

File tree

9 files changed

+396
-120
lines changed

9 files changed

+396
-120
lines changed

lib/markdowntoHTML.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { remark } from 'remark';
2-
import html from 'remark-html';
1+
import { remark } from "remark";
2+
import html from "remark-html";
33

44
export default async function markdownToHtml(markdown: string) {
55
const result = await remark()

next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const nextConfig = {
1111
experimental: {
1212
serverActions: true,
1313
},
14-
output: "standalone",
1514
webpack: (config, { webpack }) => {
1615
config.resolve.alias.canvas = false;
1716
config.plugins.push(

package.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@
5656
"recharts": "^2.12.6",
5757
"recoil": "^0.7.7",
5858
"rehype-raw": "^6.1.1",
59+
"remark": "^15.0.1",
60+
"remark-html": "^16.0.1",
5961
"rss": "^1.2.2",
60-
"sharp": "^0.32.6",
62+
"sharp": "^0.34.1",
6163
"styled-components": "^6.0.0-rc.3",
6264
"tailwindcss": "3.3.2"
6365
},
@@ -81,11 +83,13 @@
8183
"@types/react": "18.2.8",
8284
"@types/react-dom": "18.2.4",
8385
"@types/react-syntax-highlighter": "^15.5.7",
86+
"@types/sharp": "^0.32.0",
8487
"chromatic": "^10.2.0",
8588
"eslint-import-resolver-typescript": "^3.6.1",
8689
"eslint-plugin-import": "^2.28.1",
8790
"eslint-plugin-storybook": "^0.6.15",
8891
"gh-pages": "^5.0.0",
92+
"i": "^0.3.7",
8993
"jest": "^29.7.0",
9094
"jest-environment-jsdom": "^29.7.0",
9195
"knip": "^5.52.0",
@@ -96,5 +100,15 @@
96100
},
97101
"readme": "ERROR: No README data found!",
98102
99-
"packageManager": "[email protected]+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
103+
"packageManager": "[email protected]",
104+
"pnpm": {
105+
"onlyBuiltDependencies": [
106+
"@parcel/watcher",
107+
"@swc/core",
108+
"esbuild",
109+
"lmdb",
110+
"msgpackr-extract",
111+
"sharp"
112+
]
113+
}
100114
}

0 commit comments

Comments
 (0)