factorial-io / factorial-frontend-stack

Modern frontend tooling with minimal configuration
http://factorial-io.github.io/factorial-frontend-stack/
6 stars 1 forks source link

neutrino setup doesn't transpile ES6 code as expected. #26

Closed jlnschfr closed 5 years ago

jlnschfr commented 5 years ago

When using ES6 (e.g. arrow functions or new keywords such as let or const) in your codebase and doing yarn run neutrino start, the ES6 code is not getting transpiled to ES5.

I've used this snippet to test.

const test = () => {
  let a = 2;
  a = 3;

  return a;
};
mlnmln commented 5 years ago

This is fixed in 0.4.1 release. https://github.com/factorial-io/factorial-frontend-stack/releases/tag/%40factorial%2Ffrontend-stack-core%400.4.1