Sebastian Sdorra
Sebastian Sdorra
@Bartek532 i can’t reproduce the issue. Can you please provide a sample repository?
Things are also going well for me with this repository: ```text > [email protected] dev /Users/sdorra/Desktop/cc-mermaid-plugin-error > next dev --turbopack Starting content-collections content-collections.ts build started ... ... finished build of 1...
Have you seen the directory function of the [files appender](https://www.content-collections.dev/docs/content/mdx#files-optional)? Imports with mdx are very tricky, please have have a look at the following comment https://github.com/sdorra/content-collections/issues/358#issuecomment-2425671697, which describes the problem...
I am currently on vacation. I'll take a look at it next week.
@airtonix i can't reproduce it. Which version of typescript do you use? And can you post your tsconfig?
@romanslonov what you mean, when you say `turbopack, works without it.`?
@romanslonov it works with `turbopack`, but you have to specify the remark plugins as strings: https://nextjs.org/docs/app/building-your-application/configuring/mdx#using-plugins-with-turbopack Your config should looks like the following: ```ts import { withContentCollections } from "@content-collections/next";...
@TheComputerM i will see what I can do
Hi, this appears to be a syntax error in your `content-collections.ts` file. Could you provide a repository to reproduce the error?
I don't encounter any errors. It may be related to Windows. I will try testing on Windows in the next few days.