# @softcripto/webpack

> Reusable webpack configurations.

Latest version **1.0.2** (published 2019-09-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install @softcripto/webpack
pnpm add @softcripto/webpack
yarn add @softcripto/webpack
bun add @softcripto/webpack
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-09-18 |
| First published | 2019-09-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | Akash Thapa |
| Maintainers | akashthapa7 |
| Keywords | softcripto, webpack, sarwajanik |

## Links

- npm: https://www.npmjs.com/package/@softcripto/webpack
- Repository: https://bitbucket.org/softcriptoinfotech/softcripto-webpack
- Homepage: https://bitbucket.org/softcriptoinfotech/softcripto-webpack#readme
- npm.io page: https://npm.io/package/@softcripto/webpack

## Dependencies (9)

- [webpack](https://npm.io/package/webpack.md) ^4.39.3
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^3.3.7
- [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
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) ^1.4.1
- [mini-css-extract-plugin](https://npm.io/package/mini-css-extract-plugin.md) ^0.8.0
- [html-webpack-exclude-assets-plugin](https://npm.io/package/html-webpack-exclude-assets-plugin.md) 0.0.7
- [optimize-css-assets-webpack-plugin](https://npm.io/package/optimize-css-assets-webpack-plugin.md) ^5.0.3

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2019-09-18
- 1.0.1 — 2019-09-16
- 1.0.0 — 2019-09-16

## README

# @softcripto/webpack

Reusable snippets for **webpack 4.x**

## Install

```bash
npm i @softcripto/webpack --save
```

## Usage

Runs on port **8080** and writes build to **memory**. http://localhost:8080
```javascript
const {WebpackDevConfig} = require("@softcripto/webpack");
const webpack = WebpackDevConfig(path.resolve(__dirname, "path/to/build"));
```

### Run in different port

```javascript
const {WebpackDevConfig} = require("@softcripto/webpack");
const webpack = WebpackDevConfig(path.resolve(__dirname, "path/to/build"), 9000);
```

### Write build to disk

```javascript
const {WebpackDevConfig} = require("@softcripto/webpack");
const webpack = WebpackDevConfig(path.resolve(__dirname, "path/to/build"), 9000, true);
```
> Passing third argument as **true** webpack dev server writes build to disk instead of memory

## License

[MIT](http://vjpr.mit-license.org)

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