# poi-preset-resolve-alias

> Use your custom resolve alias in Poi.

Latest version **1.0.1** (published 2017-09-10) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install poi-preset-resolve-alias
pnpm add poi-preset-resolve-alias
yarn add poi-preset-resolve-alias
bun add poi-preset-resolve-alias
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-09-10 |
| First published | 2017-09-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Saran Tanpituckpong |
| Maintainers | illuminator |
| Keywords | poi, poi-preset, preset, webpack, resolve, alias |

## Links

- npm: https://www.npmjs.com/package/poi-preset-resolve-alias
- Repository: https://github.com/gluons/poi-preset-resolve-alias
- Issues: https://github.com/gluons/poi-preset-resolve-alias/issues
- npm.io page: https://npm.io/package/poi-preset-resolve-alias

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-09-10
- 1.0.0 — 2017-09-10

## README

# poi-preset-resolve-alias
[![license](https://img.shields.io/github/license/gluons/poi-preset-resolve-alias.svg?style=flat-square)](./LICENSE)
[![npm](https://img.shields.io/npm/v/poi-preset-resolve-alias.svg?style=flat-square)](https://www.npmjs.com/package/poi-preset-resolve-alias)
[![npm](https://img.shields.io/npm/dt/poi-preset-resolve-alias.svg?style=flat-square)](https://www.npmjs.com/package/poi-preset-resolve-alias)

Use your custom [resolve alias](https://webpack.js.org/configuration/resolve/#resolve-alias) in [Poi](https://github.com/egoist/poi).

## Why?

**Poi** provides `@` as alias to the path to `src` folder.

But if you want the alias to the folder outside `src` folder, use this.

## Installation

> **Requirement:** You need to install [Poi](https://github.com/egoist/poi) first.

**Via NPM:**

```bash
npm install --save-dev poi-preset-resolve-alias
```

**Via Yarn:**

```bash
yarn add --dev poi-preset-resolve-alias
```

## Usage

Add this preset into your `poi.config.js` config file.

```javascript
module.exports = {
	presets: [
		require('poi-preset-resolve-alias')({
			'<my first alias>': '<my first resolve path>',
			'<my other alias>': '<my other resolve path>',
		})
	]
};
```

---
_Source: https://npm.io/package/poi-preset-resolve-alias · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
