🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@brainly/webpack-utils

Package Overview
Dependencies
Maintainers
10
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brainly/webpack-utils

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

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
5
-85.29%
Maintainers
10
Weekly downloads
 
Created
Source

@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

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

FAQs

Package last updated on 18 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts