docs: apply current export format in README after 2.0.0 release (#34)

This commit is contained in:
Guillaume Boddaert
2017-01-29 14:05:09 +00:00
committed by Gajus Kuizinas
parent 65892e3bb8
commit 7353f04394
+7 -7
View File
@@ -36,8 +36,8 @@ This created `index.js` with:
```js ```js
// @create-index // @create-index
export bar from './bar.js'; export { default as bar } from './bar.js';
export foo from './foo.js'; export { default as foo } from './foo.js';
``` ```
@@ -66,9 +66,9 @@ This have updated `index.js` file:
```js ```js
// @create-index // @create-index
export bar from './bar.js'; export { default as bar } from './bar.js';
export baz from './baz.js'; export { default as baz } from './baz.js';
export foo from './foo.js'; export { default as foo } from './foo.js';
``` ```
@@ -177,8 +177,8 @@ Given the above directory contents, `./index.js` will be:
```js ```js
// @create-index // @create-index
import bar from './bar'; import { default as bar } from './bar';
import foo from './foo.js'; import { default as foo } from './foo.js';
export { export {
bar, bar,