-
Notifications
You must be signed in to change notification settings - Fork 22
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
ts-nameof does not work with Typescript 4.3 and Webpack #115
Comments
Hi, I got the same issue "nameof is not defined". Any solution ? |
Same situation here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some relevant dependencies used:
Relevant parts of webpack-config:
I get the following error at runtime:
As it turns out, the line in bundle.min.app.f52422b76f41c59b99cb.js mentioned in the error contains calls to the function
nameof
which is indeed not defined anywhere. This seems to happen since Typescript 4.3, at least in my setup: Looking at the minified bundle using the older TS-version 4.2.4, I cannot find such a call, hence everything works fine.Any help is appreciated! 🙏🏻
The text was updated successfully, but these errors were encountered: