Esperanto

Dev tools

module transpiler

SHOW HN2014

28points
9comments
#1,030of 2,272 in 2014
Top 46%of 2014 by points

How HN took it

QuietFewer than 5 comments about the project

1 positive, 1 neutral or asking, 0 mixed, 1 critical, out of 3 comments about the project.

Execution: 0 for, 1 againstIdea: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for understanding ES6 syntax differences through example conversions

    From 1 comment
    • Nice work. Just going through the example conversions is helpful in understanding some of the syntax differences. I'm a bit confused by the Named imports example though. What is…
      jbish on HN
  • Single source format with ports to other formats is a cleaner solution than UMD boilerplate

    From 1 comment
    • Neat. Maintain things in a single format, port to other formats as needed. I've used UMD before but that's a lot of ugly boilerplate - something external is a much cleaner…
      nailer on HN

Objections

  • Does not handle module cycles, so output can fail where es6-module-transpiler works

    From 1 comment
    • One of the reasons this is so relatively simple is that it doesn't appear to handle cycles like es6-module-transpiler does. See the test case here:…
      avolcano on HN

Requests

  • Clearer explanation of the __imports_0 variable in named imports output

    From 1 comment
    • Nice work. Just going through the example conversions is helpful in understanding some of the syntax differences. I'm a bit confused by the Named imports example though. What is…
      jbish on HN
  • Cycle support, possibly behind an option

    From 1 comment
    • Interesting, thanks for the test case - I believe I can add support for cycles with the current approach (though I'd put it behind an option, since get default() excludes older…
      rich_harris on HN

Questions

  • What is the purpose of the __imports_0 variable in the AMD and CommonJS output

    From 1 comment
    • Nice work. Just going through the example conversions is helpful in understanding some of the syntax differences. I'm a bit confused by the Named imports example though. What is…
      jbish on HN

Alternatives named

  • es6-module-transpiler

    From 2 comments
    • I've been using the repo below with ember which has been really powerful. There are grunt, gulp and broccoli plugins, too. It'd built into ember-cli where we are spoiled by the…
      rerooting on HN
    • One of the reasons this is so relatively simple is that it doesn't appear to handle cycles like es6-module-transpiler does. See the test case here:…
      avolcano on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/8197988)