I
I
Infactum2013-12-25 21:15:11
JavaScript
Infactum, 2013-12-25 21:15:11

What to do with bower components in the release version of the application?

In the process of learning Node.js, the following question arose. Let's say I wrote an application using express. All additional front-end libraries were installed via bower, so they are referenced in all jade templates. How is the production version of the application built? In particular, he is interested in how to get the min versions of all scripts and decompose them normally into css / js directories + replace all links.
In Google I found a lot of information about build tools, the same grunt for example. But as far as I understand it is necessary for the assembly of static projects. But what if the application is on Express?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Shikanov, 2013-12-26
@dizballanze

Just grunt also solves your task. The build process then consists of
1) installing components via bower
2) copying/concatenating/minifying components

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question