ayudapy icon indicating copy to clipboard operation
ayudapy copied to clipboard

Look for a JS transpiler/minifier

Open jorgeramirez opened this issue 4 years ago • 2 comments

The idea is to be able to code in ES 2015+ but then compile down to ES5. Ideally, we should add this tooling as a python dependency (i.e., a wrapper of a JS lib) to avoid adding another package management tool.

jorgeramirez avatar Apr 19 '20 18:04 jorgeramirez

Nowadays it's almost impossible to escape from nodejs package managers if you want to use the latest features of ES6.

I suggest Webpack as one of the most powerfull out there, with a variety of plugins to transpile/minify assets.

Webpack will only add just one more command when deploying

juanhuttemann avatar Apr 19 '20 19:04 juanhuttemann

I like webpack too, I was just curious if there is a "dumb" wrapper that allows us to ship it with pip. But, for me is totally okay to assume that we also have NPM available 🦾, it makes things simpler for sure :)

jorgeramirez avatar Apr 19 '20 21:04 jorgeramirez