tildeio / broccoli-typescript-compiler

MIT License
24 stars 24 forks source link

Fix examples using "default" exports #70

Closed zackthehuman closed 6 years ago

zackthehuman commented 6 years ago

The documentation for basic usage is incorrect in that it instructs you to use the default export, but there isn't a default export. Instead you should use typescript or filterTypeScript or TypeScriptPlugin, etc.

rwjblue commented 6 years ago

Hmm, there definitely is a default export now (added in https://github.com/tildeio/broccoli-typescript-compiler/commit/921a93adec1822784121f72ada07272b69eb7a2d).

https://github.com/tildeio/broccoli-typescript-compiler/blob/b17eddaf170e9a77698d1a7479d92d682e4e58a4/src/index.ts#L2

Are you certain you are using 3.0.1 (just published 2 days ago)?

zackthehuman commented 6 years ago

Negative. I was using 2.3.0 which does not have a default export. I'll close this.