-
I know this is not the first question about nrwl nx.
However, when I tried to move the public-demo into my new repo, I met many new errors, I tried to fix them
I cannot pass the third one and It's weird that only this ts file I guess I'm making a very stupid mistake. I tried the following search words but got no luck for now.
To reproduceJust clone this repo and switch to the new branch:
And then run the project:
You will see this error:
Thanks in advance, this is the first key step for us to migrate from contentful to payloadCMS. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hey @Stupidism — I just followed your reproduction steps and everything worked exactly as expected for me. Opened up in browser and everything. Payload's webpack config should deliver you everything you need to parse Generally, when we see |
Beta Was this translation helpful? Give feedback.
-
Turned out it's related to pnpm. Detailed explanation in this thread: #665 |
Beta Was this translation helpful? Give feedback.
-
It might need a configuration in
|
Beta Was this translation helpful? Give feedback.
It might need a configuration in
payload.admin.webpack
to modify the babel config. My solution now is: