Rider Bundler and Minifier

Answered

Hi all,

I am looking to fully transition from VS 2019 to Rider, however in most of my projects I have been using this popular extension to bundle and minify my assets. Is there any way to achieve the same behaviour in Rider? 

Preferable I am looking for a way that utilises the existing bundleconfig.json files created from the previous extension, but I am open to any suggestions. 

0
4 comments

Just wanted to let you know that https://www.nuget.org/packages/BuildBundlerMinifier works in Rider at the build time. 

1
Hi Georgios, Thank you for contacting us! Currently there is no plans to implement something identical to this extension. However there is a way to minify JS, it is done via Rider's File Watcher mechanism. Please refer to the web-help article: https://www.jetbrains.com/help/rider/Minifying_JavaScript.html
0

What are your suggestions to build JS and CSS file on BUILD? Most of us DevOps to build production from Git.

0
Hi Tomas,
Parcel or Webpack bundler seem to be most suitable for building a production package.
  • Parcel would be perfect for small projects and requires zero configuration.
  • If you have a sophisticated project, Webpack is more appropriate, as it gives you space in terms of configuration ability.

Kind regards,

Sofia.

0

Please sign in to leave a comment.