D
D
Dmitry Timofeev2017-02-26 09:14:51
css
Dmitry Timofeev, 2017-02-26 09:14:51

How to get one (bundle) + minify this one bundle-file from several CSS files on Windows?

There are several CSS files in the project - the bootstrap, its overlay, its own classes, and so on. 5-6 pieces in one directory.
For production, I want to collect them into one file and minify them.
You don't need to "compile" anything.
I found the tool https://github.com/GGG-KILLER/CSS-And-Js-Minifier/ but
1) I want it to be possible to write a script in BAT (PowerShell).
2) it is necessary that it was collected in one file.
We need a similar tool for Windows for the command line, which can be assembled into one and minified.
PS: I saw that there is WebPack, but I don't want to install extra software "Before getting started, make sure you have a fresh version of Node.js installed.".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dartess, 2017-02-27
@Dartess

This requires assemblers. The developers of such assemblers make their tools as cross-platform as possible, i.e. no one makes tools purely for Windows. The most popular build tools are written for node.js - grunt, gulp, wepback. So in order not to look strange, it is better to use what is accepted in the community. Gulp is probably the best option for you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question