alex4o
alex4o
WWindmill
Created by alex4o on 9/4/2024 in #help
Creating custom react components fails with jsxRuntime not defined
Thank you, I will try it in a bit
15 replies
WWindmill
Created by alex4o on 9/4/2024 in #help
Creating custom react components fails with jsxRuntime not defined
thank you, I tried a few other things but couldn't get it to work
15 replies
WWindmill
Created by alex4o on 9/4/2024 in #help
Creating custom react components fails with jsxRuntime not defined
No description
15 replies
WWindmill
Created by alex4o on 9/4/2024 in #help
Creating custom react components fails with jsxRuntime not defined
yes
15 replies
WWindmill
Created by alex4o on 9/4/2024 in #help
Creating custom react components fails with jsxRuntime not defined
resolve:
mode === "development"
? {}
: {
alias: {
react: "https://unpkg.com/react@18.2.0/umd/react.development.js",
"react-dom":
"https://unpkg.com/react-dom@18.2.0/umd/react-dom.development.js",
},
},
resolve:
mode === "development"
? {}
: {
alias: {
react: "https://unpkg.com/react@18.2.0/umd/react.development.js",
"react-dom":
"https://unpkg.com/react-dom@18.2.0/umd/react-dom.development.js",
},
},
I mean here react and react-dom are alias which marks them as external which makes react/jsx-runtime external as well
15 replies
WWindmill
Created by alex4o on 9/4/2024 in #help
Creating custom react components fails with jsxRuntime not defined
but you already alias react with https://unpkg.com/react@18.2.0/umd/react.development.js in the example component how can I bundle only jsxRuntime?
15 replies