# @shaizei/webpack-config

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

Latest version **0.1.0-beta.12** (published 2019-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @shaizei/webpack-config
pnpm add @shaizei/webpack-config
yarn add @shaizei/webpack-config
bun add @shaizei/webpack-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0-beta.12 |
| Published | 2019-09-13 |
| First published | 2019-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 34 |
| Unpacked size | 20.5 KB |
| Known vulnerabilities | 0 (+7 in 2 direct dependencies) |
| Install scripts | no |
| Author | Shahzaib Khalid |
| Maintainers | shahzaibkhalid, shaizei |
| Keywords | webpack, webpack-dev-server, webpack-config, shareable-webpack-config |

## Links

- npm: https://www.npmjs.com/package/@shaizei/webpack-config
- Repository: https://github.com/shahzaibkhalid/shaizei
- Homepage: https://www.npmjs.com/package/@shaizei/webpack-config
- Issues: https://github.com/shahzaibkhalid/shaizei/issues
- npm.io page: https://npm.io/package/@shaizei/webpack-config

## Dependencies (34)

- [eslint](https://npm.io/package/eslint.md) ^6.3.0
- [ci-info](https://npm.io/package/ci-info.md) ^2.0.0
- [deasync](https://npm.io/package/deasync.md) ^0.1.15
- [webpack](https://npm.io/package/webpack.md) ^4.39.3
- [node-sass](https://npm.io/package/node-sass.md) ^4.12.0
- [css-loader](https://npm.io/package/css-loader.md) ^3.2.0
- [typescript](https://npm.io/package/typescript.md) ^3.6.2
- [url-loader](https://npm.io/package/url-loader.md) ^2.1.0
- [webpackbar](https://npm.io/package/webpackbar.md) ^4.0.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.6.0
- [detect-port](https://npm.io/package/detect-port.md) ^1.3.0
- [file-loader](https://npm.io/package/file-loader.md) ^4.2.0
- [sass-loader](https://npm.io/package/sass-loader.md) ^8.0.0
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^3.3.8
- [babel-loader](https://npm.io/package/babel-loader.md) ^8.0.6
- [style-loader](https://npm.io/package/style-loader.md) ^1.0.0
- [eslint-loader](https://npm.io/package/eslint-loader.md) ^3.0.0
- [webpack-merge](https://npm.io/package/webpack-merge.md) ^4.2.2
- [@shaizei/helpers](https://npm.io/package/@shaizei/helpers.md) ^0.1.0-beta.12
- [react-hot-loader](https://npm.io/package/react-hot-loader.md) ^4.12.12
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) ^3.8.0
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) ^3.2.0
- [clean-webpack-plugin](https://npm.io/package/clean-webpack-plugin.md) ^3.0.0
- [image-webpack-loader](https://npm.io/package/image-webpack-loader.md) ^6.0.0
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) ^2.0.1
- [@babel/runtime-corejs3](https://npm.io/package/@babel/runtime-corejs3.md) ^7.6.0
- [mini-css-extract-plugin](https://npm.io/package/mini-css-extract-plugin.md) ^0.8.0
- [webpack-bundle-analyzer](https://npm.io/package/webpack-bundle-analyzer.md) ^3.4.1
- [webpack-manifest-plugin](https://npm.io/package/webpack-manifest-plugin.md) ^2.0.4
- [directory-named-webpack-plugin](https://npm.io/package/directory-named-webpack-plugin.md) ^4.0.1
- [fork-ts-checker-webpack-plugin](https://npm.io/package/fork-ts-checker-webpack-plugin.md) ^1.5.0
- [html-webpack-inline-source-plugin](https://npm.io/package/html-webpack-inline-source-plugin.md) ^0.0.10
- [optimize-css-assets-webpack-plugin](https://npm.io/package/optimize-css-assets-webpack-plugin.md) ^5.0.3
- [case-sensitive-paths-webpack-plugin](https://npm.io/package/case-sensitive-paths-webpack-plugin.md) ^2.2.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.0-beta.12 (latest) — 2019-09-13
- 0.1.0-beta.11 — 2019-07-09
- 0.1.0-beta.10 — 2019-06-24
- 0.1.0-beta.9 — 2019-04-19
- 0.1.0-beta.8 — 2019-04-14
- 0.1.0-beta.7 — 2019-04-13
- 0.1.0-beta.6 — 2019-04-10
- 0.1.0-beta.5 — 2019-04-04
- 0.1.0-beta.4 — 2019-03-30
- 0.1.0-beta.3 — 2019-03-30
- 0.1.0-beta.2 — 2019-03-24
- 0.1.0-beta.1 — 2019-03-23
- 0.1.0-alpha.8 — 2019-03-10
- 0.1.0-alpha.7 — 2019-03-07
- 0.1.0-alpha.6 — 2019-03-07
- … 5 more at https://npm.io/package/@shaizei/webpack-config/versions

## README

<h1 align="center">@shaizei/webpack-config</h1>

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

## Getting Started

### 1. Installation

Using Yarn:

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

Using npm:

```sh
  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.

```js
  const WebpackConfig = require('@shaizei/webpack-config');
```

* Then, we just need to export the configurations.

```js
  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:

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

---
_Source: https://npm.io/package/@shaizei/webpack-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
