mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-17 23:15:56 +08:00
chore: support raw-loader
This commit is contained in:
parent
e586f5b31d
commit
dff003f743
@ -15,6 +15,16 @@ const config = {
|
||||
destination: "http://localhost:8000/api/podcast/:path*",
|
||||
},
|
||||
],
|
||||
experimental: {
|
||||
turbo: {
|
||||
rules: {
|
||||
"*.md": {
|
||||
loaders: ["raw-loader"],
|
||||
as: "*.js",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
@ -66,6 +66,7 @@
|
||||
"postcss": "^8.5.3",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"raw-loader": "^4.0.2",
|
||||
"tailwindcss": "^4.0.15",
|
||||
"typescript": "^5.8.2",
|
||||
"typescript-eslint": "^8.27.0"
|
||||
|
576
web/pnpm-lock.yaml
generated
576
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
4
web/src/typings/md.d.ts
vendored
Normal file
4
web/src/typings/md.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
declare module "*.md" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user