moxie-lean / ng-web-app

Front-end component of a web app based on the modular LEAN concept.
http://getmoxied.net/lean
MIT License
6 stars 0 forks source link

Disable ES2015 transpile on development mode #79

Closed mitogh closed 8 years ago

mitogh commented 8 years ago

Current behavior

At the moment we are compiling the JS every time even on development mode, at the moment Google Chrome has support for almost all the features of the new version of JS.

Expected/desired behavior

For development there is no really a reason to compile to the JS using babel we should do the complication as a process just before the deployment to staging or production, this will help to increase the speed of debugging and writing code during development.

adamf321 commented 8 years ago

Sounds reasonable. I just wonder if it's likely we will see any bugs in staging which we'll miss on local. Also what about Firefox, I think some people use that for dev in our team (eg Raul) and this is open source so we should definitely support dev in FF too?

mitogh commented 8 years ago

The main thing is make the compilation process optional so there is no required for generate the JS but the task or script is still going to be present so if anyone wants to test in an older browser can just compile the assets and we can specify this task always on deploy so we make it optional and everytime is only required we compile the JS.

Also Firefox has a pretty good support as well for ES2015.

On May 23, 2016, at 8:08 AM, Adam Fenton notifications@github.com wrote:

Sounds reasonable. I just wonder if it's likely we will see any bugs in staging which we'll miss on local. Also what about Firefox, I think some people use that for dev (eg Raul)?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/moxie-lean/ng-web-app/issues/79#issuecomment-220975105