# babel-plugin-reshow-import-extension

> TODO: description

Latest version **0.0.7** (published 2022-05-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-reshow-import-extension
pnpm add babel-plugin-reshow-import-extension
yarn add babel-plugin-reshow-import-extension
bun add babel-plugin-reshow-import-extension
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2022-05-06 |
| First published | 2022-05-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=14 |
| Dependencies | 2 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Hill |
| Maintainers | hillliu |
| Keywords | add-import-extension, add-import-extensionis, replace-import-extension, replace-import-extensionis, add, replace, import, extension, extensions |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-reshow-import-extension
- Repository: https://github.com/react-atomic/reshow
- Homepage: https://github.com/react-atomic/reshow/tree/main/packages/babel-plugin-reshow-import-extension
- Issues: https://github.com/react-atomic/reshow/issues
- npm.io page: https://npm.io/package/babel-plugin-reshow-import-extension

## Dependencies (2)

- [@babel/core](https://npm.io/package/@babel/core.md) *
- [reshow-runtime](https://npm.io/package/reshow-runtime.md) *

## Recent versions

- 0.0.7 (latest) — 2022-05-06
- 0.0.6 — 2022-05-06
- 0.0.5 — 2022-05-06
- 0.0.4 — 2022-05-06
- 0.0.3 — 2022-05-05
- 0.0.2 — 2022-05-05
- 0.0.1 — 2022-05-05
- 0.0.0 — 2022-05-04

## README

# `babel-plugin-reshow-import-extension`

> A tool help u add or replace local import extensions.

## Repository 
* `GIT`
   * https://github.com/react-atomic/reshow/tree/main/packages/babel-plugin-reshow-import-extension
* `NPM`
   * https://www.npmjs.com/package/babel-plugin-reshow-import-extension

## Usage

* `Add Import Extensions`

```js
plugins: [
  ["reshow-import-extension", { extMapping: {"": "js"} }], // will add js extension
];
```

* `Replace Import Extensions`

```js
plugins: [
  ["reshow-import-extension", { extMapping: {"js": "mjs"} }], // will replace js extension with mjs
];
```

* Whole babel.config.js

https://github.com/react-atomic/react-atomic-atom/blob/main/babel.config.js

---
_Source: https://npm.io/package/babel-plugin-reshow-import-extension · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
