ERROR: No loader is configured for ".md" files:
at failureErrorWithLog (/Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:1472:15)
at /Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:945:25
at runOnEndCallbacks (/Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:1315:45)
at buildResponseToResult (/Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:943:7)
at /Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:970:16
at responseCallbacks.<computed> (/Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:622:9)
at handleIncomingPacket (/Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:677:12)
at Socket.readFromStdout (/Users/.../Desktop/Personal/Other/all-hands-original/node_modules/esbuild/lib/main.js:600:7)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12) {
errors: [Getter/Setter],
warnings: [Getter/Setter]
}
error: script "build" exited with code 1
Expected Behavior
I should receive a build folder with the pre-render content for my routes
What version of React Router are you using?
v7 prerelease
Steps to Reproduce
.md
files in/app/markdown
and import them into some components (e.g., through aBlogAPI
class)react-router build
Expected Behavior
I should receive a
build
folder with the pre-render content for my routesActual Behavior
Error is thrown!