Socket
Socket
Sign inDemoInstall

@brainly/webpack-utils

Package Overview
Dependencies
312
Maintainers
10
Versions
2
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
2
Maintainers
10
Install size
1.59 MB
Created
Weekly downloads
 

Readme

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

  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

FAQs

Last updated on 18 Jun 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc