I'm trying to set up a ReactJS.NET project in an ASP.NET Core Applikation and bundle my jsx-files, but it seems to be harder than i expected. Now I have read tons of articles and looked through the documentation on thier site, but i doesn't help me much, when this 'guide' only works for a cs-file and mine is a json-file:bundleconfig.json
. I also tried this tutorial, but i didn't help me.
When i go into the bundleconfig.json
-file i try to give outputFileName
a jsx value, and then i tells me, that the value needs to be either css or js. Do i have to transpile it somehow? Can I do this in another/a better way or do I just have to forget about bundleing my files in this project?
Hope someone can point me in the right direction.