-
Notifications
You must be signed in to change notification settings - Fork 85
Support ExportSpecifierSet
being "*"
.
#29
Comments
Per @dherman at https://twitter.com/littlecalculist/status/360052538051014656, export var whatevs;
export * from "crypto"; to something like var whatevs;
exports.whatevs = whatevs;
var __dependency1__ = require("crypto");
var __knownExports__ = Object.getOwnPropertyNames(exports);
Object.getOwnPropertyNames(__dependency1__).forEach(function (x) {
if (__knownExports__.indexOf(x) === -1) {
exports[x] = __dependency1__[x];
}
}); |
I think currently |
This is still unsupported in v0.5.1. It's not a big priority for me, but if anyone wants to take a stab at it I'll review a PR. |
Similarly, it seems |
@jdalton @sandstrom |
@caridy Awesome! With some web standards it's painful to wait the 5+ years until adoption is high. The transpiler feels like an awesome time-machine, making it available today 😄 |
Amazing what a year will do :P |
@jdalton yeah, we left that one out because it is ambiguous, instead, you can use
more details here: |
@sandstrom |
@caridy awesome! ⛵ |
should transpile to something like
The text was updated successfully, but these errors were encountered: