1.7.1 • Published 2 months ago

@talend/babel-plugin-import-from-index v1.7.1

Weekly downloads
676
License
Apache-2.0
Repository
github
Last release
2 months ago

plugin-import-from-index

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

Before

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

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

How to use

Installation

npm i --dev @talend/babel-plugin-import-from-index
yarn add -D @talend/babel-plugin-import-from-index

Configuration

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

2 months ago

1.7.0

3 months ago

1.6.1

5 months ago

1.6.0

6 months ago

1.5.1

2 years ago

1.5.0

3 years ago

2.0.0-alpha.1

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.4.0-alpha.6

4 years ago

1.4.0-alpha.5

4 years ago

1.4.0-alpha.4

4 years ago

1.4.0-alpha.3

4 years ago

1.4.0-alpha.2

4 years ago

1.4.0-alpha.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago