0

I have the following doubt: I have a project in Vb.net and I would like the compilation of the project to be minified and unified css files (App_Themes) on one side and js linked (in a common folder).

App_Themes/FrontEnd/general.css
App_Themes/FrontEnd/main.css
App_Themes/FrontEnd/css.css

Js/jquery.js
Js/main.js

Would this be possible in any way? Thank you :)

sepp2k
  • 363,768
  • 54
  • 674
  • 675
Raúl
  • 1
  • Are you using visual studio? If so maybe this link can help you along https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BundlerMinifier – Ruben Jul 11 '17 at 11:16
  • This version not found un VS 2013. :( – Raúl Jul 11 '17 at 11:45
  • Ah alright then maybe this topic can help you out then: https://stackoverflow.com/questions/27549427/in-visual-studio-2013-how-do-i-minify-javascript-and-css-in-the-post-build-step – Ruben Jul 11 '17 at 11:50

3 Answers3

0

You can try using gulp for that. There are many plugins on npm to help you such as gulp-uglify for CSS and Javascript minification.

Hope I helped! :)

Komninos
  • 414
  • 4
  • 17
0

You Can Use Gulp. Gulp is a task/build runner for development. It allows you to do a lot of stuff within your development workflow. See also this.

Hash
  • 7,726
  • 9
  • 34
  • 53
0

Hello again The problem I have is that the css are linked through App_Themes. I think there is nothing that allows to do the minification and unification of styles when compiling by topic right?

Thank you for your help.

Raúl
  • 1