Skip to content

Instantly share code, notes, and snippets.

Created December 20, 2012 17:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Desugaring of module imports by Six transpiler Test at
// six doesn't support named modules, just import and export
// six doesn't support ImportSpecifierSet.
import state from "m";
import modifyState from "m";
if (typeof exports === 'object' && typeof define !== 'function') {
var define = function(factory) {
factory(require, exports);
define(function(require, exports) {
var state = require("m").state;
var modifyState = require("m").modifyState;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment