To build using "jsx": "preserve" you need your module configuration in webpack.config.js to look something like below. The key is having all the necessary loaders in the use array, in reverse order (as mentioned in the article), not having a separate rule for ts-loader as in the article. Otherwise they will not chain as expected. See webpack docs.
To build using
"jsx": "preserve"you need yourmoduleconfiguration inwebpack.config.jsto look something like below. The key is having all the necessary loaders in theusearray, in reverse order (as mentioned in the article), not having a separate rule forts-loaderas in the article. Otherwise they will not chain as expected. See webpack docs.HTH
Thank you @mnemotic