A
A
Anatoly Salamatin2018-06-12 23:39:48
Layout
Anatoly Salamatin, 2018-06-12 23:39:48

Is it possible to use Webpack for multipage layout?

Hello. Now I use this starter template for layout https://github.com/FARCER/gulp4start . Both for landing pages and multi-pagers.
I'm thinking of trying webpack. In connection with this, a question arose. How correct is it to use webpack for multipages? For example, an online store, where there may be 20-30 pages + separate modules, etc.
I saw this video https://www.youtube.com/watch?v=Boqpfw_s77w .
It turns out that by the end of the layout there will be a huge number of settings for each page in the webpack.config file.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2018-06-13
@deliro

Alternatively, you can use a single entry point, and divide the code execution with some kind of self-written router.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question