S
S
sir_pounce2020-09-20 00:17:11
BEM
sir_pounce, 2020-09-20 00:17:11

How to cross webpack and bam?

How, with the help of webpack, to make a project where styles and logic of only the components needed on this page will be collected on each page?

I tried to google, I found only one article on Habré, where the author makes his own tool for this business, which is clearly not suitable for the development standard, I wonder how people usually do such projects.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2020-09-20
@sir_pounce

https://webpack.js.org/guides/code-splitting/#dyna...
Well, it's worth considering whether BEM is needed at all? This ugly methodology was created to solve the problems caused by the lack of tools, but for webpack there are such tools .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question