# @feizheng/next-webpack-alias

> Special alias for webpack.

Latest version **1.0.1** (published 2020-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @feizheng/next-webpack-alias
pnpm add @feizheng/next-webpack-alias
yarn add @feizheng/next-webpack-alias
bun add @feizheng/next-webpack-alias
```

## 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.1 |
| Published | 2020-02-16 |
| First published | 2019-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | afeiship |

## Links

- npm: https://www.npmjs.com/package/@feizheng/next-webpack-alias
- Homepage: https://github.com/afeiship/next-webpack-alias
- npm.io page: https://npm.io/package/@feizheng/next-webpack-alias

## Dependencies (1)

- [@feizheng/next-js-core2](https://npm.io/package/@feizheng/next-js-core2.md) ^2.4.1

## Recent versions

- 1.0.1 (latest) — 2020-02-16
- 1.0.0 — 2019-11-23

## README

# next-webpack-alias
> Special alias for webpack.

## installation
```bash
npm install -S @feizheng/next-webpack-alias
```

## usage
```js
import nxWebpackAlias from 'next-webpack-alias';

const res = nxWebpackAlias({
  react: 'react',
  'react-dom': ['@hot-loader/react-dom', true]
});

// result
{
  react: 'react',
  'react-dom': '@hot-loader/react-dom'
}

// if false
{
  react: 'react'
}
```

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