Skip to content

Commit

Permalink
docs: apply current export format in README after 2.0.0 release (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guibod authored and gajus committed Jan 29, 2017
1 parent 65892e3 commit 7353f04
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ This created `index.js` with:
```js
// @create-index

export bar from './bar.js';
export foo from './foo.js';
export { default as bar } from './bar.js';
export { default as foo } from './foo.js';

```

Expand Down Expand Up @@ -66,9 +66,9 @@ This have updated `index.js` file:
```js
// @create-index

export bar from './bar.js';
export baz from './baz.js';
export foo from './foo.js';
export { default as bar } from './bar.js';
export { default as baz } from './baz.js';
export { default as foo } from './foo.js';

```

Expand Down Expand Up @@ -177,8 +177,8 @@ Given the above directory contents, `./index.js` will be:
```js
// @create-index

import bar from './bar';
import foo from './foo.js';
import { default as bar } from './bar';
import { default as foo } from './foo.js';

export {
bar,
Expand Down

0 comments on commit 7353f04

Please sign in to comment.