SyntaxError when loading nextjs-loader

Hello everyone!
Having an issue with the latest update of nextjs-loader

(node:30051) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
import {

SyntaxError: Cannot use import statement outside a module

I’m running on node 18.16.0

going back in steps of downgrading 1 version, I see that it starts happening on 1.0.322
1.0.321 doesn’t have that issue

thanks; are you seeing this with just a normal nextjs app?

not sure what you’d call normal, but I guess it is pretty standard

anything particular you’d like to know about the app itself?

hmm if you use create-plasmic-app and created a new app with your project, do you see the same issue? which version of next are you using?

No I don’t see that with a new create-pasmic-app

“next”: “13.5.5",

any updates on this?

I haven’t been able to reproduce this; can you give me access to your git repo?