A
A
Alexey2018-07-05 11:19:56
BEM
Alexey, 2018-07-05 11:19:56

How to merge all css and js files of individual pages into one file in bem-project?

Good afternoon!
Tell me how to combine all css and js files of individual pages into one file?
Available:
/descktop.bundles
.../catalog/catalog.html
.............../catalog.css
.............../ catalog.js
.../index/index.html
.............../index.css
.............../index.js
How to get results?
dist/
....../styles/style.css
....../scripts/script.js
......catalog.html
......index.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
i, 2018-10-26
@ilyarsoftware

In terms of BEM tools, this is called Building a merged bundle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question