You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
if i set module as commonjs in tsconfig file, i am not able render image. but it works fine if i set module as esnext. but i want it as commonjs. please let me know the way.
example:
import logo from './logo.png'
// inside render method (ouput is undefined)
<img src={logo}/>
tsconfig: "module": "commonjs",
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
if i set module as commonjs in tsconfig file, i am not able render image. but it works fine if i set module as esnext. but i want it as commonjs. please let me know the way.
example:
tsconfig:
"module": "commonjs",
The text was updated successfully, but these errors were encountered: