A
A
Alexander Antonov2015-05-07 18:33:19
Node.js
Alexander Antonov, 2015-05-07 18:33:19

What tools would you recommend for building a front-end?

The task is very simple, there is a project folder with the most uncomplicated structure:

js/
сss/
index.html

I want to use several commands in the console to collect all js / * into one minified js file, also with css / *, and include only 2 files in index.html.
Please advise ready-made solutions for windows node.js and npm? thanks in advance :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
Homsa Toft, 2015-05-07
@undermuz

js - gulp-uglify
css - gulp-concat and gulp-minify
in html handles

M
Misha Kogan, 2015-05-07
@Kogan4ik

gulp is the best
https://www.youtube.com/watch?v=9zwwmjGz1Vs&list=P...
here is not a bad series of video tutorials, I think you can easily figure it out.

A
Alexander Prozorov, 2015-05-08
@Staltec

Because If you are looking at the front-end, then look towards the browserify or webpack client code packers. Grunt, and better Gulp, you are also correctly advised, but these are the project builders themselves.
Here is a nice article that explains how to link a packer (browserify) and a assembler (gulp) : Gulp + Browserify and everything, everything, everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question