DomoApps / starter-kit

This is an advanced Domo App project starter (boilerplate).
MIT License
20 stars 9 forks source link

Babel 6 Loose? -- Move to normal #24

Closed sldavidson closed 8 years ago

sldavidson commented 8 years ago

See da-webpack #44

sldavidson commented 8 years ago

I have run into a error with es2015-Loose settings.

const a = [1,2,2,3,4];
const s = new Set(a);
console.log([...s]) 

That should output [1,2,3,4] but instead get [Set]

Testing this on the Babel site confirms this.

andrewjensen commented 8 years ago

+1 let's move to the normal es2015 preset.

bmbarker90 commented 8 years ago

Should we remove the stage-1 preset as well? That seems very bleeding-edge to me. A good example is that transform-class-constructor-call (included in stage-1) has been denied by TC-39 and deprecated by babel