1.2.1 • Published 7 years ago

hopp-plugin-babel v1.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

hopp-plugin-babel

Use babel with hopp.

NPM

Usage

Setup babel the way you usually do (create a .babelrc, install presets, blah blah).

This plugin exposes a single function, .babel() which takes an options object and passes it forwards to babel.

Sample:

import hopp from 'hopp'

export default
  hopp([ 'src/*.js' ])
    // the options object is optional and will
    // be passed directly to babel
    .babel({
      presets: [
        'env'
      ]
    })
    .dest('dist')

License

Licensed under MIT license.

Copyright © 2017 10244872 Canada Inc.

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

1.0.0-alpha.16

7 years ago

1.0.0-alpha.13

7 years ago

1.0.0-alpha.9

7 years ago

1.0.0-alpha.8

7 years ago

1.0.0-alpha.7

7 years ago

1.0.0-alpha.5

7 years ago

0.0.2

7 years ago