-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@adminjs/nestjs
is not supporting swc
builder in NestJs10
#58
Comments
swc
builder in NestJs10@adminjs/nestjs
is not supporting swc
builder in NestJs10
Facing the same problem. Any solution? |
Same problem |
Same problem here |
1 similar comment
Same problem here |
I use webpack, but I had exactly the same error. I used nodenext to solve it, but it didn't help. However, this is still required. "module": "nodenext",
"moduleResolution": "nodenext" After many hours, I found a solution. The problem turned out to be that webpack converted dynamic imports into require(), regardless of the module in tsconfig. Solution: import(/* webpackIgnore: true */'@adminjs/nestjs') I hope this helps you in your search for a solution with a swc. Perhaps it has a similar method for saving dynamic imports inside bundle. |
After changing the
builder
toswc
app stopped workingAnd this is my module that is simply being imported in
app.module.ts
The text was updated successfully, but these errors were encountered: