frouo / next-markdown

Markdown Pages for Next.js with 0 effort, dynamic routes and your layout design
https://twitter.com/nextmarkdown
117 stars 5 forks source link

[FIX] - Build output #1

Closed edvincandon closed 2 years ago

edvincandon commented 2 years ago

tsc build output to es2020 modules does not append .js extensions to dist files. Either use a builder to alleviate this or force single file output.

node ESModule resolution requires .js extensions in imports !