Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Andrey Mikhaylov (lolmaus)
@bala020304 Sending to every channel out of desperation?
Mitch Zelmanovich
I just want to use babel so I can use import and export in node js
but it appears not to be working
any assistance i coudl get would be great
Andrey Mikhaylov (lolmaus)
@mzelmanovich In order to receive help, you must be very specific and explicit about your issue.
Robert Butler
so can I use this from a simple html file that includes the correct scripts and everything?
Kirk Kohler
off topic but searching the net I stumbled here.
anyone know if "web-starter-kit" by google is a dead project?
suggestions on the "replacement." not sure I need react, angular for a 1 page website i'm trying to create
Is this repo still alive?
Andrey Mikhaylov (lolmaus)
@vinaybedre Doesn't look like it. No contributions for over a year.
Vladimir Kutepov
would be nice to update it but maybe it make sense to wait babel 7 release

Hi, I use babel but eslint shows error 'Unexpected token :' here:

function feature (features: string | Array<string>)

How to learn Eslint that is is es6 syntax ?

Vladimir Kutepov
but it is not valid javascript syntax, probably it is flow or typescript
Marco Faustinelli
Very naive question... I am writing a library that will run in browsers. AFAIS the formats created by babel-start-kit are all meant for server-side libraries.
Or am I wrong?
Marco Faustinelli
OK, using the umd version
but stil... I cannot see how the final "exports" is made available in the global namespace
last line in my es6 index.js is: export crosspromo from './crosspromo.js';

in the umd file it gets translated to

exports.crosspromo = crosspromo$1;
Object.defineProperty(exports, '__esModule', { value: true });

I see there is a window.exports object
but it's empty
can you see where I am doing wrong?
Marco Faustinelli
found the answer
please disregard
Christian Ahidjo
hi there, I'm using babel 7 and webpack. I would like to transform arrow function so that IE 11 doesn't throw any syntax error here are my configs http://jsbin.com/cikeluzequ/edit?js
Andrey Mikhaylov (lolmaus)
Wow, open source spam.