# @talend/babel-plugin-import-from-index

> Transform default imports from specific path to named import from index

Latest version **1.10.0** (published 2025-09-09) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @talend/babel-plugin-import-from-index
pnpm add @talend/babel-plugin-import-from-index
yarn add @talend/babel-plugin-import-from-index
bun add @talend/babel-plugin-import-from-index
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.10.0 |
| Published | 2025-09-09 |
| First published | 2020-06-24 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 11.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 159 |
| Author | Talend Frontend |
| Maintainers | talend-frontend |

## Links

- npm: https://www.npmjs.com/package/@talend/babel-plugin-import-from-index
- Repository: https://github.com/Talend/ui
- Homepage: https://github.com/Talend/ui/tree/master/babel/plugin-import-from-index#readme
- Issues: https://github.com/Talend/ui/issues
- npm.io page: https://npm.io/package/@talend/babel-plugin-import-from-index

## Dependencies (1)

- [semver](https://npm.io/package/semver.md) ^7.7.2

## Recent versions

- 1.10.0 (latest) — 2025-09-09
- 1.9.0 — 2025-07-09
- 1.8.2 — 2025-06-27
- 1.8.1 — 2025-06-19
- 1.8.0 — 2024-06-13
- 1.7.1 — 2024-02-29
- 1.7.0 — 2024-02-02
- 1.6.1 — 2023-12-01
- 1.6.0 — 2023-11-15
- 1.5.1 — 2022-06-28
- 1.5.0 — 2021-04-29
- 2.0.0-alpha.1 — 2020-12-17
- 1.4.7 — 2020-11-24
- 1.4.6 — 2020-11-23
- 1.4.5 — 2020-11-13
- … 19 more at https://npm.io/package/@talend/babel-plugin-import-from-index/versions

## README

# plugin-import-from-index

This module is a babel plugin that transform default imports from specific file, into named imports from index.

Before

```javascript
import React from 'react';
import { SidePanel } from '@talend/react-components';
import Actions, { ActionButton, ActionDropdown } from '@talend/react-components/lib/actions';
import List from '@talend/react-components/lib/List';
```

After

```javascript
import React from 'react';
import { SidePanel, Actions, ActionButton, ActionDropdown, List } from '@talend/react-components';
```

## How to use

Installation

```bash
npm i --dev @talend/babel-plugin-import-from-index
```

```bash
yarn add -D @talend/babel-plugin-import-from-index
```

Configuration

```json
// .babelrc.json
{
	"plugins": ["@talend/babel-plugin-import-from-index"]
}
```

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