antwarjs / antwar

A static site generator built with React and Webpack.
https://antwar.js.org/
MIT License
460 stars 35 forks source link

Convert all of core to babel/es6 with babel-lint #12

Closed bebraw closed 8 years ago

bebraw commented 9 years ago

Currently it's CoffeeScript. Maybe start with a port to vanilla JS and then work from there.

bebraw commented 9 years ago

@eldh Any idea on babel/es6 and babel-lint? They warn explicitly against usage in libraries at https://babeljs.io/docs/using-babel/ for require hook. In any case this would mean there would have to be some sort of build process and add some complexity to the project.

eldh commented 9 years ago

We could use babel-loader for selected files https://www.npmjs.com/package/babel-loader

bebraw commented 9 years ago

Yeah, it makes more sense on the frontend code. We could target elements/ with that.

bebraw commented 9 years ago

Here's a nice approach: http://jlongster.com/Backend-Apps-with-Webpack--Part-I .

bebraw commented 8 years ago

Forgot to close this... This has been definitely done. There's Coffee at themes but that's a separate problem.