Socket
Book a DemoInstallSign in
Socket

@shaizei/webpack-config

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shaizei/webpack-config

This package contains shareable webpack configuration used by the applications created with @shaizei/cli.

0.1.0-beta.12
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

@shaizei/webpack-config

This package contains shareable webpack configuration used by the applications created with @shaizei/cli.

Getting Started

1. Installation

Using Yarn:

  yarn add @shaizei/webpack-config webpack webpack-dev-server webpack-cli --dev

Using npm:

  npm install @shaizei/webpack-config webpack webpack-dev-server webpack-cli --save-dev

2. Usage

  • Create a new webpack.config.js at the root directory of your project.
  • Import the config function from @shaizei/webpack-config package.
  const WebpackConfig = require('@shaizei/webpack-config');
  • Then, we just need to export the configurations.
  module.exports = WebpackConfig();

Override Default Config

If you want to override some of the pre-defined configuration, then simply pass a JavaScript object into WebpackConfig as follows:

module.exports = WebpackConfig({
  plugins: [...]
});

Keywords

webpack

FAQs

Package last updated on 13 Sep 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.