@brainly/webpack-utils

0.0.2 • Public • Published

@brainly/webpack-utils

Package for (yet unpublished for OSS use) webpack helpers. Currently supporting basic parallel webpack running and config handling.

Running (currently)

yarn build and run:

yarn add --dev @brainly/webpack-utils
webpack-parallel --config first.webpack.config.js --config another.webpack.config.js

Why

We want to use different configuration types to build advanced multi-compilation config and run it in parallel.

Alternatives don't work:

webpack-cli

  • doesn't support parallelization
  • is not build in a way to make parts reusable
  • it's config reading is not 100% working

parallel-webpack

  • crashes and leaves zombie-processes behind
  • supports just basic configs

What can we do

  1. Write config reading in reusable way.
  2. Write basic parallel and non-parallel runners with limited options (compared to webpack-cli) - just what we need.
  3. Future:
    1. Incorporate the config reading into webpack-cli 👷‍♂️
    2. Incorporate the config reading into exisitng parallel solutions

Readme

Keywords

none

Package Sidebar

Install

npm i @brainly/webpack-utils

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

28.7 kB

Total Files

30

Last publish

Collaborators

  • thomsa
  • krzotki
  • przytrzask
  • dawidel
  • tlukasik
  • andrzej_sala
  • jakpaw
  • katarzynatobis
  • bartoszlorek
  • brainly-user
  • sebastian.czoch
  • the_clx
  • dominika_p
  • matzimowski
  • elzbieta
  • malinicz
  • wro
  • fasosnql
  • patrycja.batko