1.8.0 • Published 1 year ago

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

Weekly downloads
676
License
Apache-2.0
Repository
github
Last release
1 year 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.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.1

3 years ago

1.5.0

4 years ago

2.0.0-alpha.1

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.4.0-alpha.6

5 years ago

1.4.0-alpha.5

5 years ago

1.4.0-alpha.4

5 years ago

1.4.0-alpha.3

5 years ago

1.4.0-alpha.2

5 years ago

1.4.0-alpha.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago