The two important VS extensions (not npm packages) we use at iCentric to allow us to compile LESS and minified files are:
- Web Compiler 2022+
- Bundler & Minifier 2022+
These are then generated/compiled when building the application. Sometimes this does not seem to work, so you can go in to Task Runner Explorer and then compile the desired file manually.
Notes
When dealing with larger projects, using LESS or SASS is essential, as it can be difficult to follow and edit a large CSS file. These stylesheet languages do have to be compile however (as noted above in the compiler extensions), but they make developing much easier.
Further reading:
Created: 22-Jan-2023