Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,17 @@ Reference files via the es6! plugin name:
// ...
});
```

You could just have an es6 entry point, like this:
```
// This file, named /index.js, just points to /src/index.js to start the es6 app.
require(['es6!src/index']);
```
Then class can `import` any other plain es6 js file which uses the `export` syntax!

Your `src/index.js` file might be like
```
import a from 'a';
import b from 'b';
import c from 'c';
```