andreypopp / andreypopp/es6-module-jstransform
can't export unnamed functions
Aperta
- Lingua principale
- JavaScript
- Stelle
- 16
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
``` js
export function d () {}
// compiles to:
function d () {}
module.exports.d = d;
```
``` js
export function () {}
// throws
```
It also doesn't work on strings
``` js
export 'test'
```
if I have imported a module and then try to export it again it also throws an error:
``` js
import { set } from 'dex';
export set
// Unexpected end of input
```
But as you said the spec is still in flux so I guess it doesn't make sense to invest in those issues until the spec is somewhat finalized.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.