Feedback (Positive) + Webpack ?
I just downloaded Rider today and decided to give it a try with one of our web apps. Our configuration to run the app is a little complex and honestly i thought i was going to be there for hours trying to get it to run. First of all, it only took me 30 minutes and i had it up and running. I'm honestly beyond impressed. Guys/Gals you have done an excellent job with Rider. That being said there is one question i have. Our app has a bunch of .Net Core API/Services, an ASP.Net MVC .Net Core Web App, & Vue(typescript) for the front end.
When we run everything in VSCode. When we run it starts up a webpack watch process that builds/transpiles /minfis/bunles/gen souremap files/ect.....
Though Rider was able to run the project without any webpack step i'm wondering if it is automatically handled or its just working because i built it earlier in VSCode. I notice this at the bottom of the rider window:
This is what our config for webpack looks like in launch.json:
So, is Rider handling everything for me or to i need to add the webpack/npm script to my configuration when i run? I haven't tried to debug Vue/TypeScript. If everything is done automatically and it picks up the source map files that would be beyond awesome. Also, I want to make sure i have a "watch" type process setup where if i change typescript then it would automatically be compiled without me having to stop everything and rerun.
I will still run though the trial period and i'm pretty sure my org won't buy it for me (since they already provide Visual Studio & VSCode) but i'm so impressed so far if it continues to work out well for me i'll probably purchase it myself.
Please sign in to leave a comment.
Hello,
Sorry for such a delay!
You can see some details about webpack support in Rider here: https://www.jetbrains.com/help/rider/Using_Webpack.html.
The IDE doesn't transpile/run/build anything under the hood. How exactly do you run your app? You probably have a dist folder that was created while building the app in VSCode? Then yes, it is still used when you run the app outside of it.
You can use `webpack -watch` to watch and recompile your project on changes. Usually in a webpack project there are watch/build/start/etc. commands in the package.json which can be run directly from the package.json's gutter.