Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roger BabelJS

Roger plugin to transpile ES6 code with BabelJS

 gem "roger_babeljs"

Use it in the server

  mockup.serve do |server|
    server.use RogerBabeljs::Middleware, {
      match: [%r{/url/you/want/to/match/*\.js}],
      babel_options: {
        # ... Options to pass to Babel
      }
    }
  end

Changes and versions

Have a look at the CHANGELOG to see what's new.

Contributors

View contributors

License

MIT License, see LICENSE for more info.

About

Roger BabelJS transpiler

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages