trivago / parallel-webpack

Builds multi-config webpack projects in parallel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallel build multiple pages

fannairu opened this issue · comments

Is that possible to build multiple pages at the same time? Currently out webpack.config.js is like this:
[
// partA
{
entry: {
'pageA': ...,
'pageB': ...,
'pageC': ...,
...
},
devtool: '...',
output: ...,
plugins: ...
},
// partB
{
entry: {
'pageA': ...,
'pageB': ...,
'pageC': ...,
...
},
devtool: '...',
output: ...,
plugins: ...
},
]

We we try to apply parallel-webpack, it seems partA and partB can be build in parallel. But the pages in partA or partB is still in sequential.